Revert "selftests: Compile kselftest headers with -D_GNU_SOURCE"
authorShuah Khan <skhan@linuxfoundation.org>
Fri, 17 May 2024 02:51:07 +0000 (20:51 -0600)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 20 May 2024 14:59:58 +0000 (08:59 -0600)
commitcee27ae5f1fb8bc4762f5d5de19ec6de6c45e239
treee45824f86c651ac0e65c33831d1c7c2e316affcf
parentea5f6ad9ad9645733b72ab53a98e719b460d36a6
Revert "selftests: Compile kselftest headers with -D_GNU_SOURCE"

This reverts commit daef47b89efd0b745e8478d69a3ad724bd8b4dc6.

This framework change to add D_GNU_SOURCE to KHDR_INCLUDES
to Makefile, lib.mk, and kselftest_harness.h is causing build
failures and warnings.

Revert this change.

Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/Makefile
tools/testing/selftests/kselftest_harness.h
tools/testing/selftests/lib.mk