anchao opened a new pull request #2252: URL: https://github.com/apache/incubator-nuttx/pull/2252
## Summary pthread/spinlock: mode the structure prototype out of the definition ## Impact pthread/pthread_spinlock.c: In function ‘pthread_spin_init’: pthread/pthread_spinlock.c:114:11: error: dereferencing pointer to incomplete type ‘pthread_spinlock_t’ {aka ‘struct pthread_spinlock_s’} 114 | lock->sp_lock = SP_UNLOCKED; | ^~ Change-Id: I49dbb2682e36a17bb25a647c6468b7fb511e4a76 Signed-off-by: chao.an <anc...@xiaomi.com> ## Testing Compile pass ---------------------------------------------------------------- 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