You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/06/18 09:32:25 UTC

[GitHub] [incubator-nuttx] Ouss4 commented on issue #1235: nxstyle should not complain on _Exit

Ouss4 commented 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
    };
   ```
   


----------------------------------------------------------------
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:
users@infra.apache.org