From fa42ebace41f2c0e9adecb4bb4ce4776aafcc6af Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 20 Mar 2022 23:33:40 +0800 Subject: [PATCH] tools/nxstyle: Order g_white_prefix by alphanum Signed-off-by: Xiang Xiao --- tools/nxstyle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 9eb6c66179..eeb67997c0 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -182,6 +182,7 @@ static const struct file_section_s g_section_info[] = static const char *g_white_prefix[] = { + "ASCII_", /* Ref: include/nuttx/ascii.h */ "Elf", /* Ref: include/elf.h, include/elf32.h, include/elf64.h */ "PRId", /* Ref: inttypes.h */ "PRIi", /* Ref: inttypes.h */ @@ -195,14 +196,13 @@ static const char *g_white_prefix[] = "SCNx", /* Ref: inttypes.h */ "SYS_", /* Ref: include/sys/syscall.h */ "STUB_", /* Ref: syscall/syscall_lookup.h, syscall/sycall_stublookup.c */ + "XK_", /* Ref: include/input/X11_keysymdef.h */ "b8", /* Ref: include/fixedmath.h */ "b16", /* Ref: include/fixedmath.h */ "b32", /* Ref: include/fixedmath.h */ "ub8", /* Ref: include/fixedmath.h */ "ub16", /* Ref: include/fixedmath.h */ "ub32", /* Ref: include/fixedmath.h */ - "ASCII_", /* Ref: include/nuttx/ascii.h */ - "XK_", /* Ref: include/input/X11_keysymdef.h */ "lua_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lua.h */ "luaL_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lauxlib.h */