summaryrefslogtreecommitdiffstats
path: root/exchange.c
diff options
context:
space:
mode:
authorTobias Wiese <tobias@tobiaswiese.com>2022-03-01 01:11:13 +0100
committerTobias Wiese <tobias@tobiaswiese.com>2022-03-01 01:11:13 +0100
commit8d8b9e371c33c9bc455245db35101585dcfb48e5 (patch)
treee3da33880591d82b92b4b0cf0f426a0b5fe734ea /exchange.c
parent94aca244aa2de4cc9b7728f2c64d3a6add1b9efa (diff)
Define feature test macros in MakefileHEADmaster
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.
Diffstat (limited to 'exchange.c')
-rw-r--r--exchange.c5
1 files changed, 1 insertions, 4 deletions
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 <fcntl.h>
#include <stdio.h>
#include <errno.h>
@@ -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;