Browse Source

tests/nsyscalls.c: remove redundant definition of SYSCALL_BIT

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.
Dmitry V. Levin 1 month ago
parent
commit
2b046bd338
1 changed files with 0 additions and 7 deletions
  1. 0
    7
      tests/nsyscalls.c

+ 0
- 7
tests/nsyscalls.c View File

@@ -28,13 +28,6 @@ static const struct_sysent syscallent[] = {
28 28
 # define DEBUG_PRINT 0
29 29
 #endif
30 30
 
31
-#if defined __X32_SYSCALL_BIT && defined __NR_read \
32
- && (__X32_SYSCALL_BIT & __NR_read) != 0
33
-# define SYSCALL_BIT __X32_SYSCALL_BIT
34
-#else
35
-# define SYSCALL_BIT 0
36
-#endif
37
-
38 31
 #if DEBUG_PRINT
39 32
 static const char *strace_name;
40 33
 static FILE *debug_out;

Loading…
Cancel
Save