diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-02-24 20:26:42 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-02-24 20:26:42 -0600 |
commit | ad0da85e6e01b9bde00ea56926b97148cedcb3e0 (patch) | |
tree | f8ceb2375000881fd9e9818ee02a8805927542c0 | |
parent | 327a500d8b8f1db89faf436804b010d80f75ea6f (diff) | |
download | nuttx-ad0da85e6e01b9bde00ea56926b97148cedcb3e0.tar.gz nuttx-ad0da85e6e01b9bde00ea56926b97148cedcb3e0.tar.bz2 nuttx-ad0da85e6e01b9bde00ea56926b97148cedcb3e0.zip |
Fix PTHREAD_COND_INITIALIZER
-rw-r--r-- | nuttx/include/pthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/pthread.h b/nuttx/include/pthread.h index a7b0b5c9b..a94af2979 100644 --- a/nuttx/include/pthread.h +++ b/nuttx/include/pthread.h @@ -183,7 +183,7 @@ struct pthread_cond_s sem_t sem; }; typedef struct pthread_cond_s pthread_cond_t; -#define PTHREAD_COND_INITIALIZER {{0, 0xffff}} +#define PTHREAD_COND_INITIALIZER {SEM_INITIALIZER(0)} struct pthread_mutexattr_s { |