]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86_64: Do not define __NR_semtimedop in <sysdep.h>
authorFlorian Weimer <fweimer@redhat.com>
Sun, 9 Feb 2020 15:43:44 +0000 (16:43 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Sun, 9 Feb 2020 16:39:40 +0000 (17:39 +0100)
The definition is always available from the built-in system call table.

sysdeps/unix/sysv/linux/x86_64/sysdep.h

index c2eb37e5753bc14359d05262db23307df18987fc..b8aa1a2b2fea1c53429f6e31e07a2203b05f267c 100644 (file)
 #undef SYS_ify
 #define SYS_ify(syscall_name)  __NR_##syscall_name
 
-/* This is to help the old kernel headers where __NR_semtimedop is not
-   available.  */
-#ifndef __NR_semtimedop
-# define __NR_semtimedop 220
-#endif
-
-
 #ifdef __ASSEMBLER__
 
 /* Linux uses a negative return value to indicate syscall errors,