From 18202523f8727dcebb27ed2f9f6d3060e6474c5a Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Wed, 11 Mar 2015 14:42:21 +0000 Subject: [PATCH] Updated MISRA rules. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7758 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/hal/testbuild/pclint/waivers.lnt | 4 ++++ test/nil/testbuild/pclint/waivers.lnt | 4 ++++ test/rt/testbuild/pclint/waivers.lnt | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/test/hal/testbuild/pclint/waivers.lnt b/test/hal/testbuild/pclint/waivers.lnt index 300ce66b9..954f3d4a0 100644 --- a/test/hal/testbuild/pclint/waivers.lnt +++ b/test/hal/testbuild/pclint/waivers.lnt @@ -77,6 +77,10 @@ license URL and cannot be removed.*/ -e9059 +/* Waiver Rule 8.4, this rule is disabled for the main() function only because + it, of course, does not have nor requires a prior declaration.*/ +-esym(9075, main) + /* Waiver Rule 8.7, the static analyser has no visibility of functions called from asm modules.*/ -e765 diff --git a/test/nil/testbuild/pclint/waivers.lnt b/test/nil/testbuild/pclint/waivers.lnt index 7fc91bc33..dd4eb6b1f 100644 --- a/test/nil/testbuild/pclint/waivers.lnt +++ b/test/nil/testbuild/pclint/waivers.lnt @@ -72,6 +72,10 @@ license URL and cannot be removed.*/ -e9059 +/* Waiver Rule 8.4, this rule is disabled for the main() function only because + it, of course, does not have nor requires a prior declaration.*/ +-esym(9075, main) + /* Waiver Rule 8.7, the static analyser has no visibility of functions called from asm modules.*/ -e765 diff --git a/test/rt/testbuild/pclint/waivers.lnt b/test/rt/testbuild/pclint/waivers.lnt index ab2507c94..578fdd9ca 100644 --- a/test/rt/testbuild/pclint/waivers.lnt +++ b/test/rt/testbuild/pclint/waivers.lnt @@ -78,6 +78,10 @@ license URL and cannot be removed.*/ -e9059 +/* Waiver Rule 8.4, this rule is disabled for the main() function only because + it, of course, does not have nor requires a prior declaration.*/ +-esym(9075, main) + /* Waiver Rule 8.7, the static analyser has no visibility of functions called from asm modules.*/ -e765