Message ID | 20200415092809.20240-3-pvorel@suse.cz |
---|---|
State | Changes Requested |
Headers | show |
Series | Fix compilation with -fno-common (gcc-10) | expand |
diff --git a/testcases/kernel/controllers/libcontrollers/libcontrollers.h b/testcases/kernel/controllers/libcontrollers/libcontrollers.h index cdde9f9e6..f999f705e 100644 --- a/testcases/kernel/controllers/libcontrollers/libcontrollers.h +++ b/testcases/kernel/controllers/libcontrollers/libcontrollers.h @@ -42,11 +42,7 @@ #include <sys/types.h> #include <unistd.h> -#ifdef PATH_MAX char fullpath[PATH_MAX]; -#else -char fullpath[1024]; /* Guess */ -#endif int FLAG; volatile int timer_expired;
PATH_MAX has been in <limits.h> in all libc for a long time. Signed-off-by: Petr Vorel <pvorel@suse.cz> --- testcases/kernel/controllers/libcontrollers/libcontrollers.h | 4 ---- 1 file changed, 4 deletions(-)