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:
Huang Qi 2025-01-10 21:39:44 +08:00 committed by Alan C. Assis
parent 4bd8d9eac7
commit f2a88059e7

View file

@ -617,6 +617,17 @@ static const char *g_white_content_list[] =
"unzGetCurrentFileInfo64",
"unzGoToNextFile",
"unzGoToFirstFile",
/* Ref:
* apps/netutils/telnetc/telnetc.c
*/
"deflateInit",
"deflateEnd",
"inflateInit",
"inflateEnd",
"zError",
NULL
};