summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/posix/mutex.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-28 21:40:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-28 21:40:52 +0000
commitc627b2a3a1ca1a6aca1c20e133db0f95a65a71fb (patch)
tree8b369a80629ad635519105f923e1ca5a2a2bc87c /cpukit/posix/include/rtems/posix/mutex.h
parentadded maximum keys (diff)
downloadrtems-c627b2a3a1ca1a6aca1c20e133db0f95a65a71fb.tar.bz2
split the inclusion of "EXTERN" data based on whether it was sapi,
score, rtems api, or posix api related.
Diffstat (limited to 'cpukit/posix/include/rtems/posix/mutex.h')
-rw-r--r--cpukit/posix/include/rtems/posix/mutex.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h
index 5639d908d2..0fb8ed6d5a 100644
--- a/cpukit/posix/include/rtems/posix/mutex.h
+++ b/cpukit/posix/include/rtems/posix/mutex.h
@@ -21,6 +21,9 @@
extern "C" {
#endif
+#include <rtems/score/coremutex.h>
+#include <pthread.h>
+
/*
* Data Structure used to manage a POSIX mutex
*/
@@ -36,7 +39,7 @@ typedef struct {
* this class of objects.
*/
-EXTERN Objects_Information _POSIX_Mutex_Information;
+POSIX_EXTERN Objects_Information _POSIX_Mutex_Information;
/*
* _POSIX_Mutex_Manager_initialization