diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.c | 2 | ||||
-rw-r--r-- | src/config.y | 2 | ||||
-rw-r--r-- | src/fastd.c | 2 | ||||
-rw-r--r-- | src/handshake.c | 2 | ||||
-rw-r--r-- | src/peer.c | 2 | ||||
-rw-r--r-- | src/protocol_ec25519_fhmqvc.c | 2 | ||||
-rw-r--r-- | src/resolve.c | 2 | ||||
-rw-r--r-- | src/shell.c | 2 | ||||
-rw-r--r-- | src/types.h | 2 |
9 files changed, 2 insertions, 16 deletions
diff --git a/src/config.c b/src/config.c index 50cf5bb..ec04726 100644 --- a/src/config.c +++ b/src/config.c @@ -24,8 +24,6 @@ */ -#define _GNU_SOURCE - #include "fastd.h" #include "peer.h" #include <config.ll.h> diff --git a/src/config.y b/src/config.y index e0fa412..75f2019 100644 --- a/src/config.y +++ b/src/config.y @@ -34,8 +34,6 @@ %parse-param {int depth} %code requires { - #define _GNU_SOURCE - #include <fastd.h> #include <arpa/inet.h> } diff --git a/src/fastd.c b/src/fastd.c index 63e77c5..b0901f9 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -24,8 +24,6 @@ */ -#define _GNU_SOURCE - #include "fastd.h" #include "crypto.h" #include "handshake.h" diff --git a/src/handshake.c b/src/handshake.c index 240e24a..b58745c 100644 --- a/src/handshake.c +++ b/src/handshake.c @@ -24,8 +24,6 @@ */ -#define _GNU_SOURCE - #include "handshake.h" #include "packet.h" #include "peer.h" @@ -24,8 +24,6 @@ */ -#define _GNU_SOURCE - #include "peer.h" #include "task.h" diff --git a/src/protocol_ec25519_fhmqvc.c b/src/protocol_ec25519_fhmqvc.c index c9baba4..01d2103 100644 --- a/src/protocol_ec25519_fhmqvc.c +++ b/src/protocol_ec25519_fhmqvc.c @@ -24,8 +24,6 @@ */ -#define _GNU_SOURCE - #include "fastd.h" #include "handshake.h" #include "peer.h" diff --git a/src/resolve.c b/src/resolve.c index 8cc5f13..fea0cff 100644 --- a/src/resolve.c +++ b/src/resolve.c @@ -24,8 +24,6 @@ */ -#define _GNU_SOURCE - #include "fastd.h" #include "peer.h" diff --git a/src/shell.c b/src/shell.c index 656c7cc..e8e1cf8 100644 --- a/src/shell.c +++ b/src/shell.c @@ -24,8 +24,6 @@ */ -#define _GNU_SOURCE - #include "peer.h" #include <arpa/inet.h> diff --git a/src/types.h b/src/types.h index b1026b5..abda1bc 100644 --- a/src/types.h +++ b/src/types.h @@ -33,6 +33,8 @@ #ifndef _FASTD_TYPES_H_ #define _FASTD_TYPES_H_ +#define _GNU_SOURCE + #include <config.h> #include <version.h> |