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).
This commit is contained in:
Ralf Corsepius
2011-12-05 05:15:38 +00:00
parent 7729910d1b
commit e511f6d0cf
4 changed files with 9 additions and 1 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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

View File

@@ -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