This is an automated email from the ASF dual-hosted git repository.

pkarashchenko 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 fa42eba  tools/nxstyle: Order g_white_prefix by alphanum
fa42eba is described below

commit fa42ebace41f2c0e9adecb4bb4ce4776aafcc6af
Author: Xiang Xiao <[email protected]>
AuthorDate: Sun Mar 20 23:33:40 2022 +0800

    tools/nxstyle: Order g_white_prefix by alphanum
    
    Signed-off-by: Xiang Xiao <[email protected]>
---
 tools/nxstyle.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 9eb6c66..eeb6799 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 */
 

Reply via email to