tools/nxstyle.c: All Public Function Prototypes in C files

Allow "Public Function Prototypes" sections in .c files.  Per the coding standard, all public function prototypes belong in .c files.  However, there are some situations when the public function prototype is needed in a .c file and it shoudld, most correctly, be placed in a "Public Function Prototypes" section.
This commit is contained in:
Gregory Nutt 2020-04-01 13:38:53 -06:00 committed by Abdelatif Guettouche
parent 30ca00c0a9
commit a34e5fc043

View File

@ -176,7 +176,7 @@ static const struct file_section_s g_section_info[] =
}, },
{ {
" * Public Function Prototypes\n", /* Index: PUBLIC_FUNCTION_PROTOTYPES */ " * Public Function Prototypes\n", /* Index: PUBLIC_FUNCTION_PROTOTYPES */
C_HEADER C_SOURCE | C_HEADER
} }
}; };