mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-19 07:00:08 +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. */
|
/* Value returned if `sem_open' failed. */
|
||||||
#define SEM_FAILED ((sem_t *) NULL)
|
#define SEM_FAILED ((sem_t *) 0)
|
||||||
|
|
||||||
/* Maximum value the semaphore can have. */
|
/* Maximum value the semaphore can have. */
|
||||||
#define SEM_VALUE_MAX ((int) ((~0u) >> 1))
|
#define SEM_VALUE_MAX ((int) ((~0u) >> 1))
|
||||||
|
Loading…
Reference in New Issue
Block a user