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-self-syscall.c | |
| parent | selftests: pidfd: drop needless linux/kcmp.h inclusion in pidfd_setns_test.c (diff) | |
| download | linux-f3ae6c6e8a3ea49076d826c64e63ea78fbf9db43.tar.gz linux-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-self-syscall.c')
| -rw-r--r-- | tools/testing/selftests/proc/proc-self-syscall.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/proc/proc-self-syscall.c b/tools/testing/selftests/proc/proc-self-syscall.c index 9f6d000c0245..8511dcfe67c7 100644 --- a/tools/testing/selftests/proc/proc-self-syscall.c +++ b/tools/testing/selftests/proc/proc-self-syscall.c @@ -13,7 +13,6 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define _GNU_SOURCE #include <unistd.h> #include <sys/syscall.h> #include <sys/types.h> |
