From 93a19c64c994e85e1c3e87cefa1d68c15e7acb0d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 23 Feb 2000 02:45:25 +0000 Subject: Update. 2000-02-22 Ulrich Drepper * semaphore.h (SEM_FAILED): Use 0 not NULL. --- linuxthreads/semaphore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads/semaphore.h') 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)) -- cgit v1.2.3