]> granicus.if.org Git - strace/commitdiff
tests: remove redundant SAMPLE_SIZE definitions
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 13 Jan 2017 19:39:18 +0000 (19:39 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 13 Jan 2017 19:39:18 +0000 (19:39 +0000)
Remove all definitions of SAMPLE_SIZE that are identical to the fallback
definition in tests/xstatx.c.

* tests/fstat64.c (SAMPLE_SIZE): Remove.
* tests/lstat64.c (SAMPLE_SIZE): Remove.
* tests/stat64.c (SAMPLE_SIZE): Remove.

tests/fstat64.c
tests/lstat64.c
tests/stat64.c

index 8997c4f2b3ea68fd291630249c15b08843a5539b..a9c2e07256f33d7b21b4eaf842bb3fc0511da8b6 100644 (file)
@@ -35,7 +35,6 @@
 # define STRUCT_STAT struct stat64
 # define STRUCT_STAT_STR "struct stat64"
 # define STRUCT_STAT_IS_STAT64 1
-# define SAMPLE_SIZE ((libc_off_t) 43147718418ULL)
 # include "fstatx.c"
 
 #else
index ffb2c02999e8d323db48173cfbb5b9ff72755dcd..da06609dd439cb67ffee036cc65cf10d139a4943 100644 (file)
@@ -35,7 +35,6 @@
 # define STRUCT_STAT struct stat64
 # define STRUCT_STAT_STR "struct stat64"
 # define STRUCT_STAT_IS_STAT64 1
-# define SAMPLE_SIZE ((libc_off_t) 43147718418ULL)
 # include "lstatx.c"
 
 #else
index dc9059de1ba46551a283f1a4ce6c29fe82adcb4b..782de33d6f258e7ff9ba6813e93c2fcfe599f682 100644 (file)
@@ -35,7 +35,6 @@
 # define STRUCT_STAT struct stat64
 # define STRUCT_STAT_STR "struct stat64"
 # define STRUCT_STAT_IS_STAT64 1
-# define SAMPLE_SIZE ((libc_off_t) 43147718418ULL)
 # include "lstatx.c"
 
 #else