From 32ba727717d227c8be72f757f6e481a3e0f9f764 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Jan 2001 13:46:28 +0000 Subject: 2001-01-22 Michael Hamel * include/rtems/posix/semaphore.h, inline/rtems/posix/semaphore.inl, src/ptimer1.c, include/rtems/posix/semaphore.h, inline/rtems/posix/semaphore.inl, src/alarm.c, src/ptimer1.c, src/semaphorenametoid.c, src/semopen.c, src/semunlink.c: Modifications to make CodeWarrior happy. --- cpukit/posix/src/semaphorenametoid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/posix/src/semaphorenametoid.c') 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; -- cgit v1.2.3