From: Ulrich Drepper Date: Wed, 23 Feb 2000 02:44:08 +0000 (+0000) Subject: (SEM_FAILED): Use 0 not NULL. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b9f6f7e9031ad165aabe82f588ce40099583a5f;p=thirdparty%2Fglibc.git (SEM_FAILED): Use 0 not NULL. --- diff --git a/linuxthreads/semaphore.h b/linuxthreads/semaphore.h index 1d5f933da38..84742233b60 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))