2000-02-22  Ulrich Drepper  <drepper@redhat.com>

	* semaphore.h (SEM_FAILED): Use 0 not NULL.
This commit is contained in:
Ulrich Drepper 2000-02-23 02:45:25 +00:00
parent 7ed09044b1
commit 93a19c64c9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-02-22 Ulrich Drepper <drepper@redhat.com>
* semaphore.h (SEM_FAILED): Use 0 not NULL.
2000-02-14 Ulrich Drepper <drepper@redhat.com>
* condvar.c (pthread_cond_timedwait_relative_old): Tight loop with

View 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))