diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-09 13:18:33 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-10 08:56:06 +0100 |
commit | 77e682ec8511f4bd2cde6f340cb938d60d38edd9 (patch) | |
tree | de2f75f5124478ca714fc91a0ace10c6716de55e /cpukit/posix/include/semaphore.h | |
parent | posix: Use a value of 0 for SEM_FAILED (diff) | |
download | rtems-77e682ec8511f4bd2cde6f340cb938d60d38edd9.tar.bz2 |
posix: Change sem_t to the 32-bit object type
This change is also valid for 16-bit object type architectures since in
this case POSIX_Semaphore_Control::Semaphore_id is used as a proxy.
Diffstat (limited to 'cpukit/posix/include/semaphore.h')
-rw-r--r-- | cpukit/posix/include/semaphore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/include/semaphore.h b/cpukit/posix/include/semaphore.h index 502150b4ad..7349270fda 100644 --- a/cpukit/posix/include/semaphore.h +++ b/cpukit/posix/include/semaphore.h @@ -40,7 +40,7 @@ extern "C" { /* * 11.1 Semaphore Characteristics, P1003.1b-1993, p.219 */ -typedef int sem_t; +typedef uint32_t sem_t; /* * Bad semaphore Id |