diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 07:40:22 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 07:40:22 +0000 |
commit | 2db98e91de01e137c102b3628ce32ec3c61ad2e3 (patch) | |
tree | 5705d28dccdb85f6cc3d92e6d865b0bf79b6194c /testsuites/tmtests | |
parent | Add local prototype for malloc_walk, malloc_info. (diff) | |
download | rtems-2db98e91de01e137c102b3628ce32ec3c61ad2e3.tar.bz2 |
Add missing prototypes.
Diffstat (limited to 'testsuites/tmtests')
-rw-r--r-- | testsuites/tmtests/tm05/task1.c | 4 | ||||
-rw-r--r-- | testsuites/tmtests/tm18/task1.c | 4 | ||||
-rw-r--r-- | testsuites/tmtests/tmoverhd/empty.c | 4 | ||||
-rw-r--r-- | testsuites/tmtests/tmoverhd/system.h | 6 |
4 files changed, 6 insertions, 12 deletions
diff --git a/testsuites/tmtests/tm05/task1.c b/testsuites/tmtests/tm05/task1.c index fcaf56b8f9..f68547762a 100644 --- a/testsuites/tmtests/tm05/task1.c +++ b/testsuites/tmtests/tm05/task1.c @@ -27,7 +27,7 @@ rtems_task Low_task( rtems_task_argument argument ); -void test_init(); +extern void test_init(void); int operation_count = OPERATION_COUNT; @@ -47,7 +47,7 @@ rtems_task Init( directive_failed( status, "rtems_task_delete of RTEMS_SELF" ); } -void test_init() +void test_init(void) { rtems_status_code status; rtems_task_entry task_entry; diff --git a/testsuites/tmtests/tm18/task1.c b/testsuites/tmtests/tm18/task1.c index 395dcc6a45..981a9bac5c 100644 --- a/testsuites/tmtests/tm18/task1.c +++ b/testsuites/tmtests/tm18/task1.c @@ -15,7 +15,7 @@ uint32_t taskcount; rtems_task_priority taskpri; -void test_init(void); +extern void test_init(void); rtems_task First_task( rtems_task_argument argument @@ -30,8 +30,6 @@ rtems_task Last_task( ); -void test_init(); - rtems_task Init( rtems_task_argument argument ) diff --git a/testsuites/tmtests/tmoverhd/empty.c b/testsuites/tmtests/tmoverhd/empty.c index 31f2ea32f4..7d44d31f88 100644 --- a/testsuites/tmtests/tmoverhd/empty.c +++ b/testsuites/tmtests/tmoverhd/empty.c @@ -12,10 +12,6 @@ #include "system.h" -rtems_task task_func(void); -void null_func(void); -rtems_status_code Empty_directive(void); - rtems_timer_service_routine Timer_handler( rtems_id argument ) diff --git a/testsuites/tmtests/tmoverhd/system.h b/testsuites/tmtests/tmoverhd/system.h index 5095438388..32b2f03b8c 100644 --- a/testsuites/tmtests/tmoverhd/system.h +++ b/testsuites/tmtests/tmoverhd/system.h @@ -34,11 +34,11 @@ rtems_asr Asr_handler( rtems_signal_set signals ); -rtems_task task_func(); +extern rtems_task task_func(void); -void null_func(); +extern void null_func(void); -rtems_status_code Empty_directive(); +extern rtems_status_code Empty_directive(); #include <timesys.h> |