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/capture | |
parent | sptests - Eliminate missing prototype warnings (diff) | |
download | rtems-5f0cd3499cc4230bfabe798c9e4c25d224f03d07.tar.bz2 |
samples - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/samples/capture')
-rw-r--r-- | testsuites/samples/capture/init.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/testsuites/samples/capture/init.c b/testsuites/samples/capture/init.c index 28eeb57934..67f87dd9d0 100644 --- a/testsuites/samples/capture/init.c +++ b/testsuites/samples/capture/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-1997. +/* + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may in @@ -33,6 +22,12 @@ #include <rtems/monitor.h> #include <rtems/shell.h> +/* forward declarations to avoid warnings */ +rtems_task Init(rtems_task_argument argument); +#if !BSP_SMALL_MEMORY + static void notification(int fd, int seconds_remaining, void *arg); +#endif + volatile int can_proceed = 1; #if !BSP_SMALL_MEMORY |