tools/nxstyle: Order g_white_prefix by alphanum

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-03-20 23:33:40 +08:00 committed by Petro Karashchenko
parent 2c450be9e8
commit fa42ebace4

View File

@ -182,6 +182,7 @@ static const struct file_section_s g_section_info[] =
static const char *g_white_prefix[] = static const char *g_white_prefix[] =
{ {
"ASCII_", /* Ref: include/nuttx/ascii.h */
"Elf", /* Ref: include/elf.h, include/elf32.h, include/elf64.h */ "Elf", /* Ref: include/elf.h, include/elf32.h, include/elf64.h */
"PRId", /* Ref: inttypes.h */ "PRId", /* Ref: inttypes.h */
"PRIi", /* Ref: inttypes.h */ "PRIi", /* Ref: inttypes.h */
@ -195,14 +196,13 @@ static const char *g_white_prefix[] =
"SCNx", /* Ref: inttypes.h */ "SCNx", /* Ref: inttypes.h */
"SYS_", /* Ref: include/sys/syscall.h */ "SYS_", /* Ref: include/sys/syscall.h */
"STUB_", /* Ref: syscall/syscall_lookup.h, syscall/sycall_stublookup.c */ "STUB_", /* Ref: syscall/syscall_lookup.h, syscall/sycall_stublookup.c */
"XK_", /* Ref: include/input/X11_keysymdef.h */
"b8", /* Ref: include/fixedmath.h */ "b8", /* Ref: include/fixedmath.h */
"b16", /* Ref: include/fixedmath.h */ "b16", /* Ref: include/fixedmath.h */
"b32", /* Ref: include/fixedmath.h */ "b32", /* Ref: include/fixedmath.h */
"ub8", /* Ref: include/fixedmath.h */ "ub8", /* Ref: include/fixedmath.h */
"ub16", /* Ref: include/fixedmath.h */ "ub16", /* Ref: include/fixedmath.h */
"ub32", /* 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 */ "lua_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lua.h */
"luaL_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lauxlib.h */ "luaL_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lauxlib.h */