Add -pedantic to CFLAGS - smdev - suckless mdev
(HTM) git clone git://git.suckless.org/smdev
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a6903cbf34a395db271573304ab3c5cf931c96f1
(DIR) parent 017fb368d24eec3c48fe193e9b14698cddcc2539
(HTM) Author: sin <sin@2f30.org>
Date: Thu, 22 Aug 2013 16:52:37 +0100
Add -pedantic to CFLAGS
Diffstat:
M config.mk | 2 +-
M smdev.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) 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
(DIR) 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);