summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadget.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 13:51:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 13:51:53 +0000
commit28352faecf8b000b71f734cd728f38aa212b9669 (patch)
treec8e773b36bf32ba725cc1548e515f2fa9f8ebe96 /cpukit/score/src/threadget.c
parentWhitespace removal. (diff)
downloadrtems-28352faecf8b000b71f734cd728f38aa212b9669.tar.bz2
Whitespace removal.
Diffstat (limited to 'cpukit/score/src/threadget.c')
-rw-r--r--cpukit/score/src/threadget.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/src/threadget.c b/cpukit/score/src/threadget.c
index d7d9106998..c531fd9bf0 100644
--- a/cpukit/score/src/threadget.c
+++ b/cpukit/score/src/threadget.c
@@ -56,26 +56,26 @@ Thread_Control *_Thread_Get (
Objects_Information **api_information;
Objects_Information *information;
Thread_Control *tp = (Thread_Control *) 0;
-
+
if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {
_Thread_Disable_dispatch();
*location = OBJECTS_LOCAL;
tp = _Thread_Executing;
goto done;
}
-
+
the_api = _Objects_Get_API( id );
if ( !_Objects_Is_api_valid( the_api ) ) {
*location = OBJECTS_ERROR;
goto done;
}
-
+
the_class = _Objects_Get_class( id );
if ( the_class != 1 ) { /* threads are always first class :) */
*location = OBJECTS_ERROR;
goto done;
}
-
+
api_information = _Objects_Information_table[ the_api ];
if ( !api_information ) {
*location = OBJECTS_ERROR;
@@ -87,9 +87,9 @@ Thread_Control *_Thread_Get (
*location = OBJECTS_ERROR;
goto done;
}
-
+
tp = (Thread_Control *) _Objects_Get( information, id, location );
-
+
done:
return tp;
}