diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-02 15:27:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-02 15:27:38 +0000 |
commit | 733a24873f5626da155c2956882bcac2a95e0317 (patch) | |
tree | db20ea575f857e899b0f89eeb49d38858cac9a7b /cpukit/posix/include/rtems/posix/semaphore.h | |
parent | Added include of <sys/siginfo.h>. (diff) | |
download | rtems-733a24873f5626da155c2956882bcac2a95e0317.tar.bz2 |
Added #define for SEM_FAILED.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/include/rtems/posix/semaphore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h index aaf0c4b898..da6b65c642 100644 --- a/cpukit/posix/include/rtems/posix/semaphore.h +++ b/cpukit/posix/include/rtems/posix/semaphore.h @@ -23,6 +23,8 @@ extern "C" { #include <rtems/score/coresem.h> +#define SEM_FAILED (sem_t *) -1 + /* * Data Structure used to manage a POSIX semaphore */ |