mirror of
https://github.com/apache/nuttx.git
synced 2025-12-06 09:01:15 +08:00
tools/nxstyle.c: Updating white list to xedge example
Update nxstyle whitelist to allow MixedCase identifiers used by the Xedge (Barracuda App Server) example. The following prefixes were added to g_white_prefix[]: - Ba - Thread - LThread - Http - Disk - Xedge The following exact identifiers were added to g_white_content_list[]: - baGetUnixTime - baParseDate - setDispExit - xedgeInitDiskIo - xedgeOpenAUX - platformInitDiskIo - ltMgr - Lt Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
This commit is contained in:
committed by
Alan C. Assis
parent
6bbc8c701a
commit
b78b870d68
@@ -217,6 +217,12 @@ static const char *g_white_prefix[] =
|
||||
"ub32", /* Ref: include/fixedmath.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 */
|
||||
"Ba", /* Ref: apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
|
||||
"Thread", /* Ref: apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
|
||||
"LThread", /* Ref: apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
|
||||
"Http", /* Ref: apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
|
||||
"Disk", /* Ref: apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
|
||||
"Xedge", /* Ref: apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
|
||||
NULL
|
||||
};
|
||||
|
||||
@@ -651,6 +657,19 @@ static const char *g_white_content_list[] =
|
||||
"timeMid",
|
||||
"timeHiAndVersion",
|
||||
|
||||
/* Ref:
|
||||
* apps/netutils/xedge/BAS/examples/xedge/src/xedge.h
|
||||
*/
|
||||
|
||||
"ltMgr",
|
||||
"Lt",
|
||||
"setDispExit",
|
||||
"baGetUnixTime",
|
||||
"platformInitDiskIo",
|
||||
"xedgeInitDiskIo",
|
||||
"xedgeOpenAUX",
|
||||
"baParseDate",
|
||||
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user