tools/nxstyle.c: Add missing zlib function names to white list
The zlib compression functions are used in network utilities for compression/decompression. These functions need to be added to the nxstyle white list to prevent style checking errors since they follow the zlib naming convention rather than NuttX's style guide. Specifically, these functions are used in: - apps/netutils/telnetc/telnetc.c for compressed data handling Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
4bd8d9eac7
commit
f2a88059e7
1 changed files with 11 additions and 0 deletions
|
@ -617,6 +617,17 @@ static const char *g_white_content_list[] =
|
||||||
"unzGetCurrentFileInfo64",
|
"unzGetCurrentFileInfo64",
|
||||||
"unzGoToNextFile",
|
"unzGoToNextFile",
|
||||||
"unzGoToFirstFile",
|
"unzGoToFirstFile",
|
||||||
|
|
||||||
|
/* Ref:
|
||||||
|
* apps/netutils/telnetc/telnetc.c
|
||||||
|
*/
|
||||||
|
|
||||||
|
"deflateInit",
|
||||||
|
"deflateEnd",
|
||||||
|
"inflateInit",
|
||||||
|
"inflateEnd",
|
||||||
|
"zError",
|
||||||
|
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue