summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 15:27:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 15:27:38 +0000
commit733a24873f5626da155c2956882bcac2a95e0317 (patch)
treedb20ea575f857e899b0f89eeb49d38858cac9a7b /cpukit/posix/include
parent9d3a44be9c6070ca8923f9b965661af611418e71 (diff)
downloadrtems-733a24873f5626da155c2956882bcac2a95e0317.tar.bz2
Added #define for SEM_FAILED.
Diffstat (limited to 'cpukit/posix/include')
-rw-r--r--cpukit/posix/include/rtems/posix/semaphore.h2
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
*/