Development discussion of WireGuard
 help / color / mirror / Atom feed
* [PATCH v3 67/68] selftests/wireguard: Drop define _GNU_SOURCE
       [not found] <>
@ 2024-05-09 19:58 ` Edward Liaw
  0 siblings, 0 replies; only message in thread
From: Edward Liaw @ 2024-05-09 19:58 UTC (permalink / raw)
  To: shuah, Mickaël Salaün, Günther Noack,
	Christian Brauner, Richard Cochran, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Alexei Starovoitov, Daniel Borkmann,
	David S. Miller, Jakub Kicinski, Jesper Dangaard Brouer,
	John Fastabend, Jason A. Donenfeld, Andrew Morton,
	Muhammad Usama Anjum, Edward Liaw
  Cc: linux-kernel, linux-kselftest, kernel-team,
	linux-security-module, netdev, linux-riscv, bpf, wireguard

_GNU_SOURCE is provided by, so it should be dropped to prevent
redefinition warnings.

Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX")
Signed-off-by: Edward Liaw <>
 tools/testing/selftests/wireguard/qemu/init.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/testing/selftests/wireguard/qemu/init.c b/tools/testing/selftests/wireguard/qemu/init.c
index 3e49924dd77e..08113f3c6189 100644
--- a/tools/testing/selftests/wireguard/qemu/init.c
+++ b/tools/testing/selftests/wireguard/qemu/init.c
@@ -2,8 +2,6 @@
  * Copyright (C) 2015-2019 Jason A. Donenfeld <>. All Rights Reserved.
-#define _GNU_SOURCE
 #include <unistd.h>
 #include <errno.h>
 #include <string.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-09 20:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <>
2024-05-09 19:58 ` [PATCH v3 67/68] selftests/wireguard: Drop define _GNU_SOURCE Edward Liaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).