diff options
author | Peng Hao <peng.hao2@zte.com.cn> | 2018-10-11 22:53:50 +0300 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-10-24 23:49:37 +0300 |
commit | 0387662d1b6c5ad2950d8e94d5e380af3f15c05c (patch) | |
tree | 199c380e714b1890a3ae5ed92686bc4899b70232 /tools/testing/selftests/proc/fd-003-kthread.c | |
parent | fb363e2d20351e1d16629df19e7bce1a31b3227a (diff) | |
download | linux-0387662d1b6c5ad2950d8e94d5e380af3f15c05c.tar.xz |
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>
Diffstat (limited to 'tools/testing/selftests/proc/fd-003-kthread.c')
-rw-r--r-- | tools/testing/selftests/proc/fd-003-kthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/proc/fd-003-kthread.c b/tools/testing/selftests/proc/fd-003-kthread.c index 1d659d55368c..dc591f97b63d 100644 --- a/tools/testing/selftests/proc/fd-003-kthread.c +++ b/tools/testing/selftests/proc/fd-003-kthread.c @@ -14,7 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ // Test that /proc/$KERNEL_THREAD/fd/ is empty. -#define _GNU_SOURCE + #undef NDEBUG #include <sys/syscall.h> #include <assert.h> |