X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibpthread.so_src%2Finclude_exp%2Fpthread.h;h=376fb0e2b69c0cb35b28756a7bbba9042e0ce82a;hb=e14ac96d48bb4ef5cfc845e345df4770e1145ceb;hp=8f4f779eb802193a95d35621230ab0fe00f7713b;hpb=5aa0872d2bf98d6123861d8ebaca3521bb9ea788;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libpthread.so_src/include_exp/pthread.h b/Usermode/Libraries/libpthread.so_src/include_exp/pthread.h index 8f4f779e..376fb0e2 100644 --- a/Usermode/Libraries/libpthread.so_src/include_exp/pthread.h +++ b/Usermode/Libraries/libpthread.so_src/include_exp/pthread.h @@ -60,7 +60,7 @@ struct pthread_mutex_s { void* futex; }; -#define PTHREAD_MUTEX_INITIALIZER ((struct pthread_mutex_s){NULL}) +#define PTHREAD_MUTEX_INITIALIZER ((struct pthread_mutex_s){0}) typedef struct pthread_mutex_s pthread_mutex_t; extern int pthread_mutex_init(pthread_mutex_t * mutex, const pthread_mutexattr_t *attrs); extern int pthread_mutex_lock(pthread_mutex_t *lock);