diff options
author | Evan Huus <eapache@gmail.com> | 2013-04-28 23:30:29 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-04-28 23:30:29 +0000 |
commit | c17d706c8cab1cc0dd31c5dbba12cdbc2da1dabe (patch) | |
tree | af7588b3f5e128878953f402c2550a42fd906b02 /tools/cppcheck | |
parent | 6608eddd3d525535d5356cd2ef03888da1b90522 (diff) |
Specify to CppCheck that Wireshark code is C89, not the default C11.
svn path=/trunk/; revision=49083
Diffstat (limited to 'tools/cppcheck')
-rwxr-xr-x | tools/cppcheck/cppcheck.sh | 2 |
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 |