configure: add -Wmissing-prototypes compiler option
This should avoid introduction SR_PRIV functions when static would be enough.
This commit is contained in:
parent
8a2aaffa02
commit
9e2bf9d204
|
@ -44,7 +44,7 @@ AH_BOTTOM([#endif /* SR_CONFIG_H */])
|
||||||
|
|
||||||
# Enable more compiler warnings via -Wall and -Wextra. Add -fvisibility=hidden
|
# Enable more compiler warnings via -Wall and -Wextra. Add -fvisibility=hidden
|
||||||
# and enforce use of SR_API to explicitly mark all public API functions.
|
# 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.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|
Loading…
Reference in New Issue