(SEM_FAILED): Use 0 not NULL.

This commit is contained in:
Ulrich Drepper 2000-02-23 02:44:08 +00:00
parent 4998c18839
commit 6b9f6f7e90

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