summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--Make_global.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 63d8f5f..d6bfbf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -50,6 +50,7 @@ Max Kellermann <max@duempel.org>:
o fix shadow warnings by renaming variables or making them local
o remove "-g" from Makefile.am, this should be specified by the user
+o enable C99 mode
= conntrackd =
o resolve global variable "alarm" conflict with alarm() function in unistd.h.
diff --git a/Make_global.am b/Make_global.am
index 252abf9..3ff531f 100644
--- a/Make_global.am
+++ b/Make_global.am
@@ -1,6 +1,6 @@
INCLUDES=$(all_includes) -I$(top_srcdir)/include
-AM_CFLAGS = -W -Wall \
+AM_CFLAGS = -std=gnu99 -W -Wall \
-Werror \
-Wmissing-prototypes -Wwrite-strings -Wcast-qual -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wstrict-prototypes -Wundef \
-Wno-unused-parameter