summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-09-01 17:12:15 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2021-09-02 13:00:35 +0200
commit09e33fbe6b1a1d0f9b77c901dd916f95269d76b1 (patch)
treee4048999f438ea563192a640db69e36acdc15026 /configure.ac
parentbuild: ignore prototype warnings from readline (diff)
downloadfrr-09e33fbe6b1a1d0f9b77c901dd916f95269d76b1.tar.xz
frr-09e33fbe6b1a1d0f9b77c901dd916f95269d76b1.zip
build: enable `-Wstrict-prototypes`
All fixed up, so we can enable this now. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c86f47d07..cf1c1e499 100644
--- a/configure.ac
+++ b/configure.ac
@@ -322,6 +322,7 @@ AC_C_FLAG([-fno-omit-frame-pointer])
AC_C_FLAG([-funwind-tables])
AC_C_FLAG([-Wall])
AC_C_FLAG([-Wextra])
+AC_C_FLAG([-Wstrict-prototypes])
AC_C_FLAG([-Wmissing-prototypes])
AC_C_FLAG([-Wmissing-declarations])
AC_C_FLAG([-Wpointer-arith])
@@ -330,7 +331,6 @@ AC_C_FLAG([-Wwrite-strings])
AC_C_FLAG([-Wundef])
if test "$enable_gcc_ultra_verbose" = "yes" ; then
AC_C_FLAG([-Wcast-qual])
- AC_C_FLAG([-Wstrict-prototypes])
AC_C_FLAG([-Wmissing-noreturn])
AC_C_FLAG([-Wmissing-format-attribute])
AC_C_FLAG([-Wunreachable-code])