diff options
Diffstat (limited to 'cpukit/posix/src')
-rw-r--r-- | cpukit/posix/src/alarm.c | 2 | ||||
-rw-r--r-- | cpukit/posix/src/ptimer1.c | 6 | ||||
-rw-r--r-- | cpukit/posix/src/semaphorenametoid.c | 4 | ||||
-rw-r--r-- | cpukit/posix/src/semopen.c | 2 | ||||
-rw-r--r-- | cpukit/posix/src/semunlink.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/posix/src/alarm.c b/cpukit/posix/src/alarm.c index 10be929d25..b2258d7e56 100644 --- a/cpukit/posix/src/alarm.c +++ b/cpukit/posix/src/alarm.c @@ -13,7 +13,7 @@ #include <pthread.h> -#include <errno.h> +//#include <errno.h> #include <rtems/system.h> #include <rtems/posix/pthread.h> diff --git a/cpukit/posix/src/ptimer1.c b/cpukit/posix/src/ptimer1.c index d74865e960..eee24d966c 100644 --- a/cpukit/posix/src/ptimer1.c +++ b/cpukit/posix/src/ptimer1.c @@ -543,7 +543,7 @@ int timer_settime( /* XXX error handling */ break; - default: + default: break; } @@ -624,12 +624,12 @@ int timer_settime( set_errno_and_return_minus_one( EINVAL ); break; - default: + default: break; } break; - default: + default: break; /* It does nothing, although it will be probably necessary to * return an error */ diff --git a/cpukit/posix/src/semaphorenametoid.c b/cpukit/posix/src/semaphorenametoid.c index 9f14a1e79f..b485fea1e5 100644 --- a/cpukit/posix/src/semaphorenametoid.c +++ b/cpukit/posix/src/semaphorenametoid.c @@ -26,7 +26,7 @@ int _POSIX_Semaphore_Name_to_id( const char *name, - Objects_Id *id + sem_t *id ) { Objects_Name_to_id_errors status; @@ -38,7 +38,7 @@ int _POSIX_Semaphore_Name_to_id( return EINVAL; status = _Objects_Name_to_id( - &_POSIX_Semaphore_Information, (char *)name, 0, id ); + &_POSIX_Semaphore_Information, (char *)name, 0, (Objects_Id*)id ); if ( status == OBJECTS_SUCCESSFUL ) return 0; diff --git a/cpukit/posix/src/semopen.c b/cpukit/posix/src/semopen.c index f395d8f93d..0d8797696a 100644 --- a/cpukit/posix/src/semopen.c +++ b/cpukit/posix/src/semopen.c @@ -41,7 +41,7 @@ sem_t *sem_open( mode_t mode; unsigned int value = 0; int status; - Objects_Id the_semaphore_id; + sem_t the_semaphore_id; POSIX_Semaphore_Control *the_semaphore; Objects_Locations location; diff --git a/cpukit/posix/src/semunlink.c b/cpukit/posix/src/semunlink.c index 55462fb329..78a5781dd4 100644 --- a/cpukit/posix/src/semunlink.c +++ b/cpukit/posix/src/semunlink.c @@ -32,7 +32,7 @@ int sem_unlink( { int status; register POSIX_Semaphore_Control *the_semaphore; - Objects_Id the_semaphore_id; + sem_t the_semaphore_id; _Thread_Disable_dispatch(); |