From: Uwe Hermann Date: Fri, 3 Apr 2015 20:04:20 +0000 (+0200) Subject: configure.ac: Add -Wmissing-prototypes. X-Git-Tag: libserialport-0.1.1~67 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1cda3e3dfce5f698bf6da13b9d861303c681cbde;p=libserialport.git configure.ac: Add -Wmissing-prototypes. --- diff --git a/configure.ac b/configure.ac index 86d4eb6..35f9d74 100644 --- a/configure.ac +++ b/configure.ac @@ -41,7 +41,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # Enable more compiler warnings. -CFLAGS="$CFLAGS -std=c99 -Wall -Wextra -pedantic" +CFLAGS="$CFLAGS -std=c99 -Wall -Wextra -pedantic -Wmissing-prototypes" # Checks for programs. AC_PROG_CC