summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/semaphore.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-26 18:22:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-26 18:22:08 +0000
commitc7aa9d6ff8913785a50b94f8a967b084d61d6af3 (patch)
treed4d49aae32da14fb80343605cdf3a502c9c71294 /cpukit/posix/include/semaphore.h
parentchanged version to 19990426 (diff)
downloadrtems-c7aa9d6ff8913785a50b94f8a967b084d61d6af3.tar.bz2
Repairing damage and recovering changes including C++ wrappers..
Diffstat (limited to 'cpukit/posix/include/semaphore.h')
-rw-r--r--cpukit/posix/include/semaphore.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpukit/posix/include/semaphore.h b/cpukit/posix/include/semaphore.h
index 0388f91ad9..79e85f2d6a 100644
--- a/cpukit/posix/include/semaphore.h
+++ b/cpukit/posix/include/semaphore.h
@@ -6,7 +6,11 @@
#ifndef __POSIX_SEMAPHORE_h
#define __POSIX_SEMAPHORE_h
-#include <rtems/posix/features.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <sys/features.h>
#if defined(_POSIX_SEMAPHORES)
@@ -104,5 +108,9 @@ int sem_getvalue(
#endif /* _POSIX_SEMAPHORES */
+#ifdef __cplusplus
+}
+#endif
+
#endif
/* end of include file */