summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-15 18:03:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-15 18:03:45 +0000
commitb055de7f5dca0b71396d14adec76802e4d947648 (patch)
tree381cefa72dd47f7f8c070c602026d8d5cf68734a /configure
parent3ddd392988887279ba08bafabe3ecf8801f573ea (diff)
downloadmandoc-b055de7f5dca0b71396d14adec76802e4d947648.tar.gz
add missing prototypes, no code change;
noticed by Christos Zoulas with -Wmissing-prototypes
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 04768be4..9d670b43 100755
--- a/configure
+++ b/configure
@@ -35,7 +35,8 @@ MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man"
OSNAME=
CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -f -`
-CFLAGS="-g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings"
+CFLAGS="-g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings"
+CFLAGS="${CFLAGS} -Wno-unused-parameter"
LDADD=
LDFLAGS=
LD_OHASH=