smdev

suckless mdev
git clone git://git.suckless.org/smdev
Log | Files | Refs | README | LICENSE

commit a6903cbf34a395db271573304ab3c5cf931c96f1
parent 017fb368d24eec3c48fe193e9b14698cddcc2539
Author: sin <sin@2f30.org>
Date:   Thu, 22 Aug 2013 16:52:37 +0100

Add -pedantic to CFLAGS

Diffstat:
Mconfig.mk | 2+-
Msmdev.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.mk b/config.mk @@ -8,5 +8,5 @@ PREFIX = /usr/local #CC = musl-gcc LD = $(CC) CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE -CFLAGS = -g -ansi -Wall $(CPPFLAGS) +CFLAGS = -g -ansi -Wall -pedantic $(CPPFLAGS) LDFLAGS = -g diff --git a/smdev.c b/smdev.c @@ -29,7 +29,7 @@ struct Event { enum action { ADD_ACTION, REMOVE_ACTION, - UNKNOWN_ACTION, + UNKNOWN_ACTION }; static int dohotplug(void);