aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-04-28 23:30:29 +0000
committerEvan Huus <eapache@gmail.com>2013-04-28 23:30:29 +0000
commitc17d706c8cab1cc0dd31c5dbba12cdbc2da1dabe (patch)
treeaf7588b3f5e128878953f402c2550a42fd906b02 /tools
parent6608eddd3d525535d5356cd2ef03888da1b90522 (diff)
Specify to CppCheck that Wireshark code is C89, not the default C11.
svn path=/trunk/; revision=49083
Diffstat (limited to 'tools')
-rwxr-xr-xtools/cppcheck/cppcheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cppcheck/cppcheck.sh b/tools/cppcheck/cppcheck.sh
index 24cb245df9..c7c3984c86 100755
--- a/tools/cppcheck/cppcheck.sh
+++ b/tools/cppcheck/cppcheck.sh
@@ -67,7 +67,7 @@ trap : INT
$CPPCHECK --force --enable=style $QUIET \
$SUPPRESSIONS $INCLUDES \
- --template=$TEMPLATE \
+ --std=c89 --template=$TEMPLATE \
-j $THREADS $TARGET 2>&1
if [ "$MODE" = "html" ]; then