From 8d8b9e371c33c9bc455245db35101585dcfb48e5 Mon Sep 17 00:00:00 2001 From: Tobias Wiese Date: Tue, 1 Mar 2022 01:11:13 +0100 Subject: Define feature test macros in Makefile To prevent other people from copying the definition of the feature test macro into their multi-file c project or the unlikely case that this project will contain more than one c file at some point. --- exchange.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'exchange.c') diff --git a/exchange.c b/exchange.c index c818606..2bc9193 100644 --- a/exchange.c +++ b/exchange.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include #include #include @@ -14,7 +13,7 @@ #endif #ifndef VERSION -# define VERSION "" +# define VERSION "UNRELEASED" #endif #ifndef SMALL @@ -56,8 +55,6 @@ int main(int argc, char *argv[]) { != -1) { switch (c) { - case 't': - break; case 'h': // help usage(stdout); return EXIT_SUCCESS; -- cgit v1.2.3