From: Uwe Hermann Date: Thu, 30 Jan 2014 18:28:49 +0000 (+0100) Subject: configure.ac: Add -Wmissing-prototypes. X-Git-Tag: libsigrokdecode-0.3.0~141 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=cb73763da5d004b3f780f4395ccf19a398da60a2;p=libsigrokdecode.git configure.ac: Add -Wmissing-prototypes. --- diff --git a/configure.ac b/configure.ac index b817142..962c1b7 100644 --- a/configure.ac +++ b/configure.ac @@ -44,7 +44,7 @@ AH_BOTTOM([#endif /* SRD_CONFIG_H */]) # Enable more compiler warnings via -Wall and -Wextra. Add -fvisibility=hidden # and enforce use of SRD_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