Ouss4 edited a comment on issue #1235:
URL: 
https://github.com/apache/incubator-nuttx/issues/1235#issuecomment-645901665


   There already is a white list in nxstyle.c, we can just add `_Exit` to the 
list.
   ```diff
   diff --git a/tools/nxstyle.c b/tools/nxstyle.c
   index 78351334bf..38b89f98df 100644
   --- a/tools/nxstyle.c
   +++ b/tools/nxstyle.c
   @@ -192,6 +192,7 @@ static const char *g_white_prefix[] =
      "ub8",     /* Ref:  include/fixedmath.h */
      "ub16",    /* Ref:  include/fixedmath.h */
      "ub32",    /* Ref:  include/fixedmath.h */
   +  "_Exit",   /* Ref:  include/stdlib.h */
      NULL
    };
   
   That actually is just a prefix list but we can do the same for full 
identifiers. 
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to