diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-12 11:12:57 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-31 10:06:16 -0500 |
commit | 5f0cd3499cc4230bfabe798c9e4c25d224f03d07 (patch) | |
tree | af3bfb44e492e5fdc59505894eeb50c17eb82dd2 /testsuites/samples/hello | |
parent | sptests - Eliminate missing prototype warnings (diff) | |
download | rtems-5f0cd3499cc4230bfabe798c9e4c25d224f03d07.tar.bz2 |
samples - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/samples/hello')
-rw-r--r-- | testsuites/samples/hello/init.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c index 01b14b8111..8a44a88991 100644 --- a/testsuites/samples/hello/init.c +++ b/testsuites/samples/hello/init.c @@ -1,16 +1,5 @@ -/* Init - * - * This routine is the initialization task for this test program. - * It is called from init_exec and has the responsibility for creating - * and starting the tasks that make up the test. If the time of day - * clock is required for the test, it should also be set to a known - * value by this function. - * - * Input parameters: NONE - * - * Output parameters: NONE - * - * COPYRIGHT (c) 1989-1999. +/* + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -27,6 +16,9 @@ #include <stdio.h> #include <stdlib.h> +/* forward declarations to avoid warnings */ +rtems_task Init(rtems_task_argument argument); + rtems_task Init( rtems_task_argument ignored ) |