aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit0eef50ec6a1184b0c3634caac272f969a3f36c88 (patch)
tree85f1c5f0cbb8c86af720a03fdc12222364a3eb4c /configure
parenta142b09ae91ee2ad981c24c9a48689e623d6a952 (diff)
downloadmandoc-0eef50ec6a1184b0c3634caac272f969a3f36c88.tar.gz
mandoc-0eef50ec6a1184b0c3634caac272f969a3f36c88.tar.zst
mandoc-0eef50ec6a1184b0c3634caac272f969a3f36c88.zip
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=