]> granicus.if.org Git - strace/commitdiff
tests/nsyscalls.c: remove redundant definition of SYSCALL_BIT
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 21 Oct 2019 21:12:38 +0000 (21:12 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 21 Oct 2019 21:12:38 +0000 (21:12 +0000)
Starting with commit v5.3~111, tests/nsyscalls.c includes "scno.h"
which already defines SYSCALL_BIT where appropriate.

* tests/nsyscalls.c (SYSCALL_BIT): Remove.

tests/nsyscalls.c

index b4d2dd2b53bf297a77029ea157356967373a1391..1eb900711e7112addb2f5422866f8c386a62c01f 100644 (file)
@@ -28,13 +28,6 @@ static const struct_sysent syscallent[] = {
 # define DEBUG_PRINT 0
 #endif
 
-#if defined __X32_SYSCALL_BIT && defined __NR_read \
- && (__X32_SYSCALL_BIT & __NR_read) != 0
-# define SYSCALL_BIT __X32_SYSCALL_BIT
-#else
-# define SYSCALL_BIT 0
-#endif
-
 #if DEBUG_PRINT
 static const char *strace_name;
 static FILE *debug_out;