diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-29 15:40:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-29 15:40:38 +0000 |
commit | 64f55e7c32cb7a2ff069f527ec28b1cfa71de31a (patch) | |
tree | 10a663bc14783d3eefb6c82b07e62902a42c8cde /c/src/exec/posix/src/semunlink.c | |
parent | Updated. (diff) | |
download | rtems-64f55e7c32cb7a2ff069f527ec28b1cfa71de31a.tar.bz2 |
Made sure POSIX would build with MP enabled.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/posix/src/semunlink.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/c/src/exec/posix/src/semunlink.c b/c/src/exec/posix/src/semunlink.c index 2690758417..d687629e46 100644 --- a/c/src/exec/posix/src/semunlink.c +++ b/c/src/exec/posix/src/semunlink.c @@ -33,7 +33,6 @@ int sem_unlink( int status; register POSIX_Semaphore_Control *the_semaphore; Objects_Id the_semaphore_id; - Objects_Locations location; _Thread_Disable_dispatch(); @@ -52,7 +51,7 @@ int sem_unlink( set_errno_and_return_minus_one( ENOSYS ); } - the_semaphore = _Objects_Get_local_object( + the_semaphore = (POSIX_Semaphore_Control *) _Objects_Get_local_object( &_POSIX_Semaphore_Information, _Objects_Get_index( the_semaphore_id ) ); |