summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/gxx_wrappers.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:05:35 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:05:35 +0000
commit50f32b11653429546d7b8ff2693b5232b885e201 (patch)
treea8821a7e3025ef47082cc21ccbb56551382cdc3f /cpukit/libcsupport/src/gxx_wrappers.c
parentRemove stray white spaces. (diff)
downloadrtems-50f32b11653429546d7b8ff2693b5232b885e201.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/libcsupport/src/gxx_wrappers.c')
-rw-r--r--cpukit/libcsupport/src/gxx_wrappers.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/libcsupport/src/gxx_wrappers.c b/cpukit/libcsupport/src/gxx_wrappers.c
index 5f70724c3f..d500f3fb5e 100644
--- a/cpukit/libcsupport/src/gxx_wrappers.c
+++ b/cpukit/libcsupport/src/gxx_wrappers.c
@@ -13,7 +13,7 @@
* Eric sent some e-mail in the rtems-list as a start point for this
* module implementation.
*
- *
+ *
*/
#if HAVE_CONFIG_H
@@ -32,7 +32,7 @@
#include <rtems/error.h> /* rtems_panic */
#include <rtems/rtems/tasks.h>
-/*
+/*
* These typedefs should match with the ones defined in the file
* gcc/gthr-rtems.h in the gcc distribution.
*/
@@ -51,7 +51,7 @@ typedef void *__gthread_mutex_t;
/* local function to return the ID of the calling thread */
static rtems_id get_tid( void )
{
- rtems_id id = 0;
+ rtems_id id = 0;
rtems_task_ident( RTEMS_SELF, 0, &id );
return id;
}
@@ -82,7 +82,7 @@ int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *))
{
/* Ok, this can be a bit tricky. We are going to return a "key" as a
* pointer to the buffer that will hold the value of the key itself.
- * We have to to this, becuase the others functions on this interface
+ * We have to to this, becuase the others functions on this interface
* deal with the value of the key, as used with the POSIX API.
*/
/* Do not pull your hair, trust me this works. :-) */
@@ -195,7 +195,7 @@ int rtems_gxx_mutex_lock (__gthread_mutex_t *mutex)
#ifdef DEBUG_GXX_WRAPPERS
printk( "gxx_wrappers: lock mutex=%X\n", *mutex );
#endif
- return ( rtems_semaphore_obtain( (rtems_id)*mutex,
+ return ( rtems_semaphore_obtain( (rtems_id)*mutex,
RTEMS_WAIT, RTEMS_NO_TIMEOUT ) == RTEMS_SUCCESSFUL) ? 0 : -1;
}
@@ -204,7 +204,7 @@ int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex)
#ifdef DEBUG_GXX_WRAPPERS
printk( "gxx_wrappers: trylock mutex=%X\n", *mutex );
#endif
- return (rtems_semaphore_obtain ((rtems_id)*mutex,
+ return (rtems_semaphore_obtain ((rtems_id)*mutex,
RTEMS_NO_WAIT, 0) == RTEMS_SUCCESSFUL) ? 0 : -1;
}