scron

simple cron daemon
git clone git://git.2f30.org/scron.git
Log | Files | Refs | README | LICENSE

commit 3bed6bba8bed33191315773d12641fb18bbddda2
parent 96c5d330ecfa1138bc4bcfa2505e8e68d1c5be7f
Author: sin <sin@2f30.org>
Date:   Fri,  4 Jul 2014 11:55:11 +0100

Set GNU_SOURCE in CFLAGS

Diffstat:
Makefile | 2+-
crond.c | 2--
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -CFLAGS += -Os -std=c99 -Wall -Wextra -pedantic +CFLAGS += -Os -std=c99 -Wall -Wextra -pedantic -D_GNU_SOURCE LDFLAGS += -s -static all: crond diff --git a/crond.c b/crond.c @@ -1,6 +1,4 @@ /* See LICENSE file for copyright and license details. */ -#define _GNU_SOURCE - #include <sys/types.h> #include <sys/wait.h>