From b98d399f3c4f7fc19a80a7f12503f0b4226c59dc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 13 Dec 2011 12:56:53 +0000 Subject: 2011-12-13 Sebastian Huber * posix/src/mqueuenametoid.c, posix/src/semaphorenametoid.c: Removed files. * posix/src/psxnametoid.c: New file. * posix/Makefile.am: Reflect changes above. * posix/include/rtems/posix/config.h: Fixed integer types. * posix/include/rtems/posix/posixapi.h: Declare _POSIX_Name_to_id(). * posix/include/rtems/posix/mqueue.h, posix/inline/rtems/posix/mqueue.inl: Changed parameter of _POSIX_Message_queue_Create_support(). _POSIX_Message_queue_Name_to_id() is now inline. * posix/include/rtems/posix/semaphore.h, posix/inline/rtems/posix/semaphore.inl: Changed parameter of _POSIX_Semaphore_Create_support(). _POSIX_Semaphore_Name_to_id() is now inline. * posix/src/mqueuecreatesupp.c, posix/src/semaphorecreatesupp.c: Use _Workspace_String_duplicate(). * posix/src/mqueuesendsupp.c, posix/src/mqueueopen.c, posix/src/mqueueunlink.c, posix/src/seminit.c, posix/src/semopen.c, posix/src/semunlink.c: Update due to API changes. --- cpukit/posix/include/rtems/posix/semaphore.h | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'cpukit/posix/include/rtems/posix/semaphore.h') diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h index 3b96748aa7..89198ee1b4 100644 --- a/cpukit/posix/include/rtems/posix/semaphore.h +++ b/cpukit/posix/include/rtems/posix/semaphore.h @@ -25,6 +25,7 @@ extern "C" { #include #include +#include /* * Data Structure used to manage a POSIX semaphore @@ -129,6 +130,7 @@ RTEMS_INLINE_ROUTINE bool _POSIX_Semaphore_Is_null ( int _POSIX_Semaphore_Create_support( const char *name, + size_t name_len, int pshared, unsigned int value, POSIX_Semaphore_Control **the_sem @@ -161,19 +163,6 @@ int _POSIX_Semaphore_Wait_support( Watchdog_Interval timeout ); -/* - * _POSIX_Semaphore_Name_to_id - * - * DESCRIPTION: - * - * This routine performs name to id translation. - */ - -int _POSIX_Semaphore_Name_to_id( - const char *name, - sem_t *id -); - /* * _POSIX_Semaphore_Translate_core_semaphore_return_code * -- cgit v1.2.3