diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-11 13:58:33 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-11 13:58:33 +0200 |
commit | 7b369afba9fecbf8a87a42375376d4ca8af7560c (patch) | |
tree | 5633949494ff207b4e7835ba6ab51164af66bf6f /testsuites/psxtmtests/psxtmthread02 | |
parent | sapi: Fix unified workspace option (diff) | |
download | rtems-7b369afba9fecbf8a87a42375376d4ca8af7560c.tar.bz2 |
testsuites: Fix warnings
Diffstat (limited to 'testsuites/psxtmtests/psxtmthread02')
-rw-r--r-- | testsuites/psxtmtests/psxtmthread02/init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmthread02/init.c b/testsuites/psxtmtests/psxtmthread02/init.c index 41fb17f462..9e44873937 100644 --- a/testsuites/psxtmtests/psxtmthread02/init.c +++ b/testsuites/psxtmtests/psxtmthread02/init.c @@ -19,7 +19,7 @@ /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void benchmark_pthread_create(void); -void thread(void *argument); +void *thread(void *argument); void benchmark_pthread_create(void) { @@ -46,11 +46,12 @@ void benchmark_pthread_create(void) } -void thread( +void *thread( void *argument ) { //Empty thread used in pthread_create(). + return NULL; } void *POSIX_Init( |