mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 04:33:36 +08:00
2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h (SEM_VALUE_MAX): Remove.
This commit is contained in:
parent
d164f33b2a
commit
90e01f41f9
@ -1,3 +1,8 @@
|
|||||||
|
2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
|
||||||
|
(SEM_VALUE_MAX): Remove.
|
||||||
|
|
||||||
2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
|
2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
|
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
|
||||||
|
@ -20,17 +20,11 @@
|
|||||||
# error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead."
|
# error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define __SIZEOF_SEM_T 16
|
#define __SIZEOF_SEM_T 16
|
||||||
|
|
||||||
|
|
||||||
/* Value returned if `sem_open' failed. */
|
/* Value returned if `sem_open' failed. */
|
||||||
#define SEM_FAILED ((sem_t *) 0)
|
#define SEM_FAILED ((sem_t *) 0)
|
||||||
|
|
||||||
/* Maximum value the semaphore can have. */
|
|
||||||
#define SEM_VALUE_MAX ((int) ((~0u) >> 1))
|
|
||||||
|
|
||||||
|
|
||||||
typedef union
|
typedef union
|
||||||
{
|
{
|
||||||
char __size[__SIZEOF_SEM_T];
|
char __size[__SIZEOF_SEM_T];
|
||||||
|
Loading…
Reference in New Issue
Block a user