diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-10 05:53:03 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-10 05:53:03 +0000 |
commit | d71462b4eb38efbcda6d429a0a61749d7a89e195 (patch) | |
tree | 4bb2afb3fa4b15b51fca1445a643b89cf4ab6d58 /c/src | |
parent | 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d71462b4eb38efbcda6d429a0a61749d7a89e195.tar.bz2 |
2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac (CFLAGS): Add -Wmissing-prototypes.
Diffstat (limited to '')
-rw-r--r-- | c/src/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/configure.ac | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog index 5a08c5556f..4f5b26ed51 100644 --- a/c/src/ChangeLog +++ b/c/src/ChangeLog @@ -1,3 +1,7 @@ +2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> + + * configure.ac (CFLAGS): Add -Wmissing-prototypes. + 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org> * libchip/network/sonic.c: Activate SONIC_STATIC. diff --git a/c/src/configure.ac b/c/src/configure.ac index 147d0f65d4..0e4a4fe3b2 100644 --- a/c/src/configure.ac +++ b/c/src/configure.ac @@ -100,7 +100,7 @@ RTEMS_CANONICALIZE_TOOLS # Append warning flags if CFLAGS wasn't set. AS_IF([test "$GCC" = yes && test "$rtems_cv_CFLAGS_set" != set], -[CFLAGS="$CFLAGS -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs"]) +[CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs"]) AS_IF([test -n "${CFLAGS}"],[ ac_configure_args="$ac_configure_args 'CFLAGS=${CFLAGS}'"]) |