]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: fix warning: "_GNU_SOURCE" redefined
authorPeng Hao <peng.hao2@zte.com.cn>
Thu, 11 Oct 2018 19:53:50 +0000 (03:53 +0800)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Wed, 24 Oct 2018 20:49:37 +0000 (14:49 -0600)
commit0387662d1b6c5ad2950d8e94d5e380af3f15c05c
tree199c380e714b1890a3ae5ed92686bc4899b70232
parentfb363e2d20351e1d16629df19e7bce1a31b3227a
selftests: fix warning: "_GNU_SOURCE" redefined

Makefile contains -D_GNU_SOURCE. remove define "_GNU_SOURCE"
in c files.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/proc/fd-001-lookup.c
tools/testing/selftests/proc/fd-003-kthread.c