From 5f0cd3499cc4230bfabe798c9e4c25d224f03d07 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 12 May 2012 11:12:57 -0500 Subject: samples - Eliminate missing prototype warnings --- testsuites/samples/base_mp/init.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'testsuites/samples/base_mp/init.c') diff --git a/testsuites/samples/base_mp/init.c b/testsuites/samples/base_mp/init.c index 24c6206f73..e2a9b84002 100644 --- a/testsuites/samples/base_mp/init.c +++ b/testsuites/samples/base_mp/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 application, the current time might be - * set by this task. - * - * 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 @@ -26,6 +15,9 @@ #include "system.h" #include +/* forward declarations to avoid warnings */ +rtems_task Init(rtems_task_argument argument); + rtems_task Init( rtems_task_argument argument ) -- cgit v1.2.3