From 9e2bf9d204d153de65dd98445d9d91819198196f Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Tue, 14 Jan 2014 23:30:02 +0100 Subject: [PATCH] configure: add -Wmissing-prototypes compiler option This should avoid introduction SR_PRIV functions when static would be enough. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c1ca46fe..7e18ed96 100644 --- a/configure.ac +++ b/configure.ac @@ -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