]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(SEM_FAILED): Use 0 not NULL.
authorUlrich Drepper <drepper@redhat.com>
Wed, 23 Feb 2000 02:44:08 +0000 (02:44 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 23 Feb 2000 02:44:08 +0000 (02:44 +0000)
linuxthreads/semaphore.h

index 1d5f933da389fbbc462d1e98e9e21e697ec625e6..84742233b609e1790130635ffe772ed5918127a6 100644 (file)
@@ -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))