forked from nuttx/nuttx-update
tools/nxstyle: Ignore stub names that begin with STUB_*
The names use for stub functions follows a non-standard convention: They begin with STUB_
This commit is contained in:
parent
0456b70cd5
commit
652e152d66
1 changed files with 2 additions and 1 deletions
|
@ -1459,7 +1459,8 @@ int main(int argc, char **argv, char **envp)
|
|||
*/
|
||||
|
||||
if ((strncmp(&line[ident_index], "PRIx", 4) == 0) ||
|
||||
(strncmp(&line[ident_index], "SYS_", 4) == 0))
|
||||
(strncmp(&line[ident_index], "SYS_", 4) == 0) ||
|
||||
(strncmp(&line[ident_index], "STUB_", 5) == 0))
|
||||
{
|
||||
/* No error */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue