diff options
author | Christian Hesse <mail@eworm.de> | 2014-10-21 14:17:53 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-10-21 14:17:53 +0200 |
commit | 347a5bbe1b6fba26f8e20376bd9d2c97ac0b14ad (patch) | |
tree | 07d3ab658126cf2768df2906983c001bf5d5e2b4 | |
parent | dad179dcc38dd460b9e4bf907bc4c7a44aba58ab (diff) | |
download | nullshell-347a5bbe1b6fba26f8e20376bd9d2c97ac0b14ad.tar.gz nullshell-347a5bbe1b6fba26f8e20376bd9d2c97ac0b14ad.tar.zst |
use ISO C11 standard
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | nullshell.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -6,7 +6,7 @@ CC := gcc MD := markdown INSTALL := install RM := rm -CFLAGS += -O2 -Wall -Werror +CFLAGS += -std=c11 -O2 -Wall -Werror # this is just a fallback in case you do not use git but downloaded # a release tarball... VERSION := 0.0.5 diff --git a/nullshell.c b/nullshell.c index 7422b4a..ef054ab 100644 --- a/nullshell.c +++ b/nullshell.c @@ -8,6 +8,8 @@ * by Mario A. Valdez-Ramirez (http://www.mariovaldez.net/) */ +#define _GNU_SOURCE + #include <inttypes.h> #include <signal.h> #include <stdio.h> |