diff options
author | Tommi Rantala <tommi.t.rantala@nokia.com> | 2020-10-08 15:26:30 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-11-05 10:08:14 -0700 |
commit | f3ae6c6e8a3ea49076d826c64e63ea78fbf9db43 (patch) | |
tree | 47f776692c32592a3ad362ed6f2c20237aed2019 /tools/testing/selftests/proc/proc-uptime-002.c | |
parent | selftests: pidfd: drop needless linux/kcmp.h inclusion in pidfd_setns_test.c (diff) | |
download | linux-dev-f3ae6c6e8a3ea49076d826c64e63ea78fbf9db43.tar.xz linux-dev-f3ae6c6e8a3ea49076d826c64e63ea78fbf9db43.zip |
selftests: proc: fix warning: _GNU_SOURCE redefined
Makefile already contains -D_GNU_SOURCE, so we can remove it from the
*.c files.
Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/proc/proc-uptime-002.c')
-rw-r--r-- | tools/testing/selftests/proc/proc-uptime-002.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/proc/proc-uptime-002.c b/tools/testing/selftests/proc/proc-uptime-002.c index 30e2b7849089..e7ceabed7f51 100644 --- a/tools/testing/selftests/proc/proc-uptime-002.c +++ b/tools/testing/selftests/proc/proc-uptime-002.c @@ -15,7 +15,6 @@ */ // Test that values in /proc/uptime increment monotonically // while shifting across CPUs. -#define _GNU_SOURCE #undef NDEBUG #include <assert.h> #include <unistd.h> |