mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +00:00
(SEM_FAILED): Use 0 not NULL.
This commit is contained in:
parent
4998c18839
commit
6b9f6f7e90
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user