diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-24 00:38:52 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-24 00:38:52 +0200 |
commit | c43719d6ba9c7d3395af1f15c74882bdf26cdc86 (patch) | |
tree | 56283f9c7592d73f7a5369532a3b4fc3e7f82961 /minecproxy | |
parent | c3c566aaf146b292ad4638319a4750f9f843d65a (diff) |
Add global _GNU_SOURCE define
Diffstat (limited to 'minecproxy')
-rw-r--r-- | minecproxy/idle.c | 1 | ||||
-rw-r--r-- | minecproxy/main.c | 1 | ||||
-rw-r--r-- | minecproxy/server-config.c | 1 | ||||
-rw-r--r-- | minecproxy/server-proxy.c | 1 | ||||
-rw-r--r-- | minecproxy/server.c | 1 | ||||
-rw-r--r-- | minecproxy/signal-handler.c | 1 | ||||
-rw-r--r-- | minecproxy/uring.c | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/minecproxy/idle.c b/minecproxy/idle.c index c49846d..79c7bab 100644 --- a/minecproxy/idle.c +++ b/minecproxy/idle.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <inttypes.h> #include <sys/socket.h> #include <netinet/ip.h> diff --git a/minecproxy/main.c b/minecproxy/main.c index f83b956..9a57aa8 100644 --- a/minecproxy/main.c +++ b/minecproxy/main.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <stdarg.h> diff --git a/minecproxy/server-config.c b/minecproxy/server-config.c index c388eb2..5d8c724 100644 --- a/minecproxy/server-config.c +++ b/minecproxy/server-config.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <stdio.h> #include <ctype.h> #include <string.h> diff --git a/minecproxy/server-proxy.c b/minecproxy/server-proxy.c index d8ff0cf..087773d 100644 --- a/minecproxy/server-proxy.c +++ b/minecproxy/server-proxy.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <stdio.h> #include <unistd.h> #include <time.h> diff --git a/minecproxy/server.c b/minecproxy/server.c index 534ceca..c6e6480 100644 --- a/minecproxy/server.c +++ b/minecproxy/server.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <stdlib.h> #include <string.h> #include <arpa/inet.h> diff --git a/minecproxy/signal-handler.c b/minecproxy/signal-handler.c index 67c2e0b..0173bf8 100644 --- a/minecproxy/signal-handler.c +++ b/minecproxy/signal-handler.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <sys/signalfd.h> #include <signal.h> #include <fcntl.h> diff --git a/minecproxy/uring.c b/minecproxy/uring.c index e979471..79b90b8 100644 --- a/minecproxy/uring.c +++ b/minecproxy/uring.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <liburing.h> #include <sys/types.h> #include <sys/stat.h> |