This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 796ef13b20187fa7b90cfa34c302f0fce46b95a5 Author: Alin Jerpelea <[email protected]> AuthorDate: Wed Mar 3 14:50:27 2021 +0100 tools: nxstyle: add L_tmpnam/P_tmpdir exceptions Those exceptions are defined in https://pubs.opengroup.org/onlinepubs/9699919799/functions/tempnam.html Signed-off-by: Alin Jerpelea <[email protected]> --- tools/nxstyle.c | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 6698bdd..f14230c 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -206,10 +206,34 @@ static const char *g_white_prefix[] = static const char *g_white_list[] = { - "__EIT_entry", /* Ref: gnu_unwind_find_exidx.c */ - "__gnu_Unwind_Find_exidx", /* Ref: gnu_unwind_find_exidx.c */ - "_Exit", /* Ref: stdlib.h */ - "_Unwind_Ptr", /* Ref: unwind-arm-common.h */ + /* Ref: gnu_unwind_find_exidx.c */ + + "__EIT_entry", + + /* Ref: gnu_unwind_find_exidx.c */ + + "__gnu_Unwind_Find_exidx", + + /* Ref: stdlib.h */ + + "_Exit", + + /* Ref: unwind-arm-common.h */ + + "_Unwind_Ptr", + + /* Ref: + * https://pubs.opengroup.org/onlinepubs/9699919799/functions/tempnam.html + */ + + "P_tmpdir", + + /* Ref: + * https://pubs.opengroup.org/onlinepubs/9699919799/functions/tempnam.html + */ + + "L_tmpnam", + NULL };
