diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-09 21:24:06 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-09 21:24:06 +0000 |
commit | 1055ce20fce7730cd46bb41230252cbaf1acce83 (patch) | |
tree | f1bafa58b57cfe61d7acf5947f4d1fb337e72c9e /testsuites/tmtests/tm09/task1.c | |
parent | 2009-05-09 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-1055ce20fce7730cd46bb41230252cbaf1acce83.tar.bz2 |
Fix most warnings.
Diffstat (limited to 'testsuites/tmtests/tm09/task1.c')
-rw-r--r-- | testsuites/tmtests/tm09/task1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/tmtests/tm09/task1.c b/testsuites/tmtests/tm09/task1.c index 8ead82646e..c5f0170c02 100644 --- a/testsuites/tmtests/tm09/task1.c +++ b/testsuites/tmtests/tm09/task1.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2008. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -17,7 +17,7 @@ rtems_id Queue_id; rtems_task Test_task( rtems_task_argument argument ); -void queue_test(); +void queue_test(void); rtems_task Init( rtems_task_argument argument @@ -31,7 +31,7 @@ rtems_task Init( status = rtems_task_create( 1, - (RTEMS_MAXIMUM_PRIORITY / 2) + 1, + (RTEMS_MAXIMUM_PRIORITY / 2u) + 1u, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES, RTEMS_DEFAULT_ATTRIBUTES, @@ -86,7 +86,7 @@ rtems_task Test_task ( rtems_test_exit( 0 ); } -void queue_test() +void queue_test(void) { uint32_t send_loop_time; uint32_t urgent_loop_time; |