aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/nil/include/ch.h2
-rw-r--r--test/hal/testbuild/pclint/gcc-include-path.lnt12
-rw-r--r--test/nil/testbuild/pclint/gcc-include-path.lnt12
-rw-r--r--test/rt/testbuild/pclint/gcc-include-path.lnt12
4 files changed, 19 insertions, 19 deletions
diff --git a/os/nil/include/ch.h b/os/nil/include/ch.h
index 8d44d13d3..b50158260 100644
--- a/os/nil/include/ch.h
+++ b/os/nil/include/ch.h
@@ -1304,7 +1304,7 @@ struct nil_system {
*
* @init
*/
-#define chSemObjectInit(sp, n) ((sp)->cnt = n)
+#define chSemObjectInit(sp, n) ((sp)->cnt = (n))
/**
* @brief Performs a wait operation on a semaphore.
diff --git a/test/hal/testbuild/pclint/gcc-include-path.lnt b/test/hal/testbuild/pclint/gcc-include-path.lnt
index 0e8fd311a..be1d0a6a2 100644
--- a/test/hal/testbuild/pclint/gcc-include-path.lnt
+++ b/test/hal/testbuild/pclint/gcc-include-path.lnt
@@ -1,6 +1,6 @@
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include/c++/4.9.3"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include/c++/4.9.3/arm-none-eabi"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include/c++/4.9.3/backward"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/lib/gcc/arm-none-eabi/4.9.3/include"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/lib/gcc/arm-none-eabi/4.9.3/include-fixed"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include/c++/4.9.3"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include/c++/4.9.3/arm-none-eabi"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include/c++/4.9.3/backward"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/lib/gcc/arm-none-eabi/4.9.3/include"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/lib/gcc/arm-none-eabi/4.9.3/include-fixed"
diff --git a/test/nil/testbuild/pclint/gcc-include-path.lnt b/test/nil/testbuild/pclint/gcc-include-path.lnt
index 0e8fd311a..be1d0a6a2 100644
--- a/test/nil/testbuild/pclint/gcc-include-path.lnt
+++ b/test/nil/testbuild/pclint/gcc-include-path.lnt
@@ -1,6 +1,6 @@
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include/c++/4.9.3"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include/c++/4.9.3/arm-none-eabi"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include/c++/4.9.3/backward"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/lib/gcc/arm-none-eabi/4.9.3/include"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/lib/gcc/arm-none-eabi/4.9.3/include-fixed"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include/c++/4.9.3"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include/c++/4.9.3/arm-none-eabi"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include/c++/4.9.3/backward"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/lib/gcc/arm-none-eabi/4.9.3/include"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/lib/gcc/arm-none-eabi/4.9.3/include-fixed"
diff --git a/test/rt/testbuild/pclint/gcc-include-path.lnt b/test/rt/testbuild/pclint/gcc-include-path.lnt
index 0e8fd311a..be1d0a6a2 100644
--- a/test/rt/testbuild/pclint/gcc-include-path.lnt
+++ b/test/rt/testbuild/pclint/gcc-include-path.lnt
@@ -1,6 +1,6 @@
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include/c++/4.9.3"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include/c++/4.9.3/arm-none-eabi"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/arm-none-eabi/include/c++/4.9.3/backward"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/lib/gcc/arm-none-eabi/4.9.3/include"
---i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9 2015q3/lib/gcc/arm-none-eabi/4.9.3/include-fixed"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include/c++/4.9.3"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include/c++/4.9.3/arm-none-eabi"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/arm-none-eabi/include/c++/4.9.3/backward"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/lib/gcc/arm-none-eabi/4.9.3/include"
+--i"C:/ChibiStudio/tools/GNU Tools ARM Embedded/4.9.3 2015q3/lib/gcc/arm-none-eabi/4.9.3/include-fixed"