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 20:08:14 +0300 |
commit | f3ae6c6e8a3ea49076d826c64e63ea78fbf9db43 (patch) | |
tree | 47f776692c32592a3ad362ed6f2c20237aed2019 /tools/testing/selftests/proc/proc-loadavg-001.c | |
parent | 7b9621d4593199aa0268e56081fe730b71c053e6 (diff) | |
download | linux-f3ae6c6e8a3ea49076d826c64e63ea78fbf9db43.tar.xz |
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-loadavg-001.c')
-rw-r--r-- | tools/testing/selftests/proc/proc-loadavg-001.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/proc/proc-loadavg-001.c b/tools/testing/selftests/proc/proc-loadavg-001.c index 471e2aa28077..fb4fe9188806 100644 --- a/tools/testing/selftests/proc/proc-loadavg-001.c +++ b/tools/testing/selftests/proc/proc-loadavg-001.c @@ -14,7 +14,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ /* Test that /proc/loadavg correctly reports last pid in pid namespace. */ -#define _GNU_SOURCE #include <errno.h> #include <sched.h> #include <sys/types.h> |