summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-05 05:15:38 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-05 05:15:38 +0000
commite511f6d0cfd3265bd477287933eba90c2e0bf6a0 (patch)
tree640309f0274c4d8c836394896fc3c6c9eeddc49c /cpukit
parent2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-e511f6d0cfd3265bd477287933eba90c2e0bf6a0.tar.bz2
2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/mqueuetranslatereturncode.c: Include <rtems/posix/mqueue.h> (Missing prototypes). * posix/src/mutextranslatereturncode.c: Include <rtems/posix/mutex.h> (Missing prototypes). * posix/src/semaphoretranslatereturncode.c: Include <rtems/posix/semaphore.h> (Missing prototypes).
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/posix/src/mqueuetranslatereturncode.c2
-rw-r--r--cpukit/posix/src/mutextranslatereturncode.c1
-rw-r--r--cpukit/posix/src/semaphoretranslatereturncode.c1
4 files changed, 9 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 26f75cf6f8..6f660559b6 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,11 @@
2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * posix/src/mqueuetranslatereturncode.c:
+ Include <rtems/posix/mqueue.h> (Missing prototypes).
+ * posix/src/mutextranslatereturncode.c:
+ Include <rtems/posix/mutex.h> (Missing prototypes).
+ * posix/src/semaphoretranslatereturncode.c:
+ Include <rtems/posix/semaphore.h> (Missing prototypes).
* posix/src/mqueuenotify.c: Make _POSIX_Message_queue_Notify_handler
static.
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
diff --git a/cpukit/posix/src/mqueuetranslatereturncode.c b/cpukit/posix/src/mqueuetranslatereturncode.c
index f903c70d89..c43e8b9b19 100644
--- a/cpukit/posix/src/mqueuetranslatereturncode.c
+++ b/cpukit/posix/src/mqueuetranslatereturncode.c
@@ -20,7 +20,7 @@
#include <rtems/system.h>
#include <rtems/score/coremsg.h>
-
+#include <rtems/posix/mqueue.h>
/*
* _POSIX_Message_queue_Translate_core_message_queue_return_code
diff --git a/cpukit/posix/src/mutextranslatereturncode.c b/cpukit/posix/src/mutextranslatereturncode.c
index 48b9a9a199..e00d2fe3e3 100644
--- a/cpukit/posix/src/mutextranslatereturncode.c
+++ b/cpukit/posix/src/mutextranslatereturncode.c
@@ -20,6 +20,7 @@
#include <rtems/system.h>
#include <rtems/score/coremutex.h>
+#include <rtems/posix/mutex.h>
/*
* _POSIX_Mutex_Translate_core_mutex_return_code
diff --git a/cpukit/posix/src/semaphoretranslatereturncode.c b/cpukit/posix/src/semaphoretranslatereturncode.c
index c87f5c93c8..434a941926 100644
--- a/cpukit/posix/src/semaphoretranslatereturncode.c
+++ b/cpukit/posix/src/semaphoretranslatereturncode.c
@@ -20,6 +20,7 @@
#include <rtems/system.h>
#include <rtems/score/coresem.h>
+#include <rtems/posix/semaphore.h>
/*
* _POSIX_Semaphore_Translate_core_semaphore_return_code