configure: add -Wmissing-prototypes compiler option

This should avoid introduction SR_PRIV functions when static would be enough.
This commit is contained in:
Aurelien Jacobs 2014-01-14 23:30:02 +01:00
parent 8a2aaffa02
commit 9e2bf9d204
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ AH_BOTTOM([#endif /* SR_CONFIG_H */])
# Enable more compiler warnings via -Wall and -Wextra. Add -fvisibility=hidden
# and enforce use of SR_API to explicitly mark all public API functions.
CFLAGS="$CFLAGS -Wall -Wextra -fvisibility=hidden"
CFLAGS="$CFLAGS -Wall -Wextra -Wmissing-prototypes -fvisibility=hidden"
# Checks for programs.
AC_PROG_CC