]> git.sur5r.net Git - openocd/commitdiff
Add -Wredundant-decls to prevent unwanted duplicate declarations.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 29 Apr 2009 03:28:12 +0000 (03:28 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 29 Apr 2009 03:28:12 +0000 (03:28 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1562 b42882b7-edfa-0310-969c-e2dbd0fdcd60

configure.in

index 364a3d88cd3655ab0527cdc930fcfdd396bfc340..9eaeb7e4d6f6f782b2368a5b7487a5a44f06ba99 100644 (file)
@@ -779,6 +779,7 @@ if test "${gcc_wextra}" = yes; then
        GCC_WARNINGS="${GCC_WARNINGS} -Wextra -Wno-unused-parameter"
        GCC_WARNINGS="${GCC_WARNINGS} -Wbad-function-cast"
        GCC_WARNINGS="${GCC_WARNINGS} -Wcast-align"
+       GCC_WARNINGS="${GCC_WARNINGS} -Wredundant-decls"
 fi
 if test "${gcc_werror}" = yes; then
        GCC_WARNINGS="${GCC_WARNINGS} -Werror"