From 0399213cd5506ab9d726eeac1e51a5b864eb38b4 Mon Sep 17 00:00:00 2001 From: Sachin D Kulkarni Date: Wed, 9 Aug 2023 20:07:28 +0530 Subject: [PATCH] scripts: coccinelle: Remove strtok_r symbol from checklist strtok_r is part of GNU99, but default Zephyr is built with C99, so, the GNU headers are not pulled in, even if we add "--std=gnu99" it won't override the C99 standard. As a workaround for build we redefine the prototype, but this causes a coding guideline warning, so, for now disable this warning for strtok_r. Signed-off-by: Sachin D Kulkarni --- scripts/coccinelle/symbols.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/coccinelle/symbols.txt b/scripts/coccinelle/symbols.txt index 3b32b3800c..02bd93e0dc 100644 --- a/scripts/coccinelle/symbols.txt +++ b/scripts/coccinelle/symbols.txt @@ -207,7 +207,6 @@ strtod64 strtod128 strtof strtok -strtok_r strtol strtold strtoul