about summary refs log tree commit diff
path: root/linuxthreads/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/semaphore.h')
-rw-r--r--linuxthreads/semaphore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/semaphore.h b/linuxthreads/semaphore.h
index a3cc422377..21a9deaafe 100644
--- a/linuxthreads/semaphore.h
+++ b/linuxthreads/semaphore.h
@@ -39,7 +39,7 @@ typedef struct
 
 
 /* Value returned if `sem_open' failed.  */
-#define SEM_FAILED	((sem_t *) NULL)
+#define SEM_FAILED	((sem_t *) 0)
 
 /* Maximum value the semaphore can have.  */
 #define SEM_VALUE_MAX 	((int) ((~0u) >> 1))