summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/semaphorenametoid.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-22 13:46:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-01-22 13:46:28 +0000
commit32ba727717d227c8be72f757f6e481a3e0f9f764 (patch)
treeb92b2f207edcfb4a078042e43cbd056b182ebdf4 /cpukit/posix/src/semaphorenametoid.c
parent2001-01-12 Eric Norum <eric.norum@usask.ca> (diff)
downloadrtems-32ba727717d227c8be72f757f6e481a3e0f9f764.tar.bz2
2001-01-22 Michael Hamel <mhamel@adi.co.nz>
* 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.
Diffstat (limited to 'cpukit/posix/src/semaphorenametoid.c')
-rw-r--r--cpukit/posix/src/semaphorenametoid.c4
1 files changed, 2 insertions, 2 deletions
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;