From 874297f3bea7761cf05ae26540b7a9e21d4a6e1d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 16 Apr 2004 10:01:03 +0000 Subject: Remove stray white spaces. --- cpukit/posix/src/semopen.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'cpukit/posix/src/semopen.c') diff --git a/cpukit/posix/src/semopen.c b/cpukit/posix/src/semopen.c index 25808893ad..522177d3b0 100644 --- a/cpukit/posix/src/semopen.c +++ b/cpukit/posix/src/semopen.c @@ -23,13 +23,13 @@ /*PAGE * * sem_open - * + * * Opens a named semaphore. Used in conjunction with the sem_close * and sem_unlink commands. * * 11.2.3 Initialize/Open a Named Semaphore, P1003.1b-1993, p.221 * - * NOTE: When oflag is O_CREAT, then optional third and fourth + * NOTE: When oflag is O_CREAT, then optional third and fourth * parameters must be present. */ @@ -48,7 +48,7 @@ sem_t *sem_open( sem_t the_semaphore_id; POSIX_Semaphore_Control *the_semaphore; Objects_Locations location; - + _Thread_Disable_dispatch(); if ( oflag & O_CREAT ) { @@ -59,7 +59,7 @@ sem_t *sem_open( } status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id ); - + /* * If the name to id translation worked, then the semaphore exists * and we can just return a pointer to the id. Otherwise we may @@ -78,7 +78,7 @@ sem_t *sem_open( _Thread_Enable_dispatch(); rtems_set_errno_and_return_minus_one_cast( status, sem_t * ); } - } else { + } else { /* * Check for existence with creation. @@ -95,9 +95,9 @@ sem_t *sem_open( _Thread_Enable_dispatch(); return (sem_t *)&the_semaphore->Object.id; - } - - /* + } + + /* * At this point, the semaphore does not exist and everything has been * checked. We should go ahead and create a semaphore. */ @@ -108,7 +108,7 @@ sem_t *sem_open( value, &the_semaphore ); - + /* * errno was set by Create_support, so don't set it again. */ -- cgit v1.2.3