You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2020/11/05 14:19:42 UTC
[incubator-nuttx] branch master updated: nxstyle: Add more
inttypes.h stuff to the whitelist
This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 954115e nxstyle: Add more inttypes.h stuff to the whitelist
954115e is described below
commit 954115e0974b823600245ec7e2cb8e4b8d499e8a
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Nov 5 21:51:38 2020 +0900
nxstyle: Add more inttypes.h stuff to the whitelist
---
tools/nxstyle.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 7e9136b..6698bdd 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -183,7 +183,16 @@ static const struct file_section_s g_section_info[] =
static const char *g_white_prefix[] =
{
"Elf", /* Ref: include/elf.h, include/elf32.h, include/elf64.h */
- "PRIx", /* Ref: intttypes.h */
+ "PRId", /* Ref: inttypes.h */
+ "PRIi", /* Ref: inttypes.h */
+ "PRIo", /* Ref: inttypes.h */
+ "PRIu", /* Ref: inttypes.h */
+ "PRIx", /* Ref: inttypes.h */
+ "SCNd", /* Ref: inttypes.h */
+ "SCNi", /* Ref: inttypes.h */
+ "SCNo", /* Ref: inttypes.h */
+ "SCNu", /* Ref: inttypes.h */
+ "SCNx", /* Ref: inttypes.h */
"SYS_", /* Ref: include/sys/syscall.h */
"STUB_", /* Ref: syscall/syscall_lookup.h, syscall/sycall_stublookup.c */
"b8", /* Ref: include/fixedmath.h */