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/11/09 03:40:49 UTC

[GitHub] [incubator-nuttx] anchao opened a new pull request #2252: pthread/spinlock: mode the structure prototype out of the definition

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



[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #2252: pthread/spinlock: move the structure prototype out of the definition

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #2252:
URL: https://github.com/apache/incubator-nuttx/pull/2252


   


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