diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-17 16:42:29 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-17 16:42:29 +0000 |
commit | f248d75e65247a39c29052bc3b4fbcc043a4967c (patch) | |
tree | 89e6f9240c77f674d3ce12c0036ddb0d623f48e0 | |
parent | 36d597429d71448c93e8c598e6a615ce4e0c14ec (diff) | |
download | conntrack-tools-f248d75e65247a39c29052bc3b4fbcc043a4967c.tar.gz conntrack-tools-f248d75e65247a39c29052bc3b4fbcc043a4967c.zip |
enable C99 mode
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | Make_global.am | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 |