acassis commented on PR #11351:
URL: https://github.com/apache/nuttx/pull/11351#issuecomment-1850804941

   > > @xiaoxiang781216 @anjiahao1 @davids5 @raiden00pl @patacongo is there 
some alternative to avoid declaring these functions inside a function? I'm 
afraid it is not C89 compatible.
   > 
   > What do you mean "function inside a function"? The violation I can find is 
`inline`. I would say that it's very bad idea to disallow the using of inline.
   
   That:
   ```
     dq_for_every(queue, entry)
       {
         count++;
       }
   ```
   
   I don't see it usually in the source code, I don't know exactly what is it. 
I only found that dq_for_every() inside this python script: tools/gdb/lists.py
   
   What is it? What is it used for? 


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

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

Reply via email to