source: rtems/testsuites/sptests/sperror03/init.c @ 3c8eda7

4.115
Last change on this file since 3c8eda7 was 3c8eda7, checked in by Joel Sherrill <joel.sherrill@…>, on 05/12/12 at 16:01:26

sptests - Eliminate missing prototype warnings

  • Property mode set to 100644
File size: 994 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2012.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 */
9
10#ifdef HAVE_CONFIG_H
11#include "config.h"
12#endif
13
14#include <tmacros.h>
15#include "test_support.h"
16
17/* forward declarations to avoid warnings */
18rtems_task Init(rtems_task_argument argument);
19
20rtems_task Init(
21  rtems_task_argument argument
22)
23{
24  puts( "\n\n*** TEST Tests for error reporting routines - 03 ***" );
25
26  rtems_panic(
27    "Dummy panic\n"
28    "*** END OF TEST Tests for error reporting routines - 03 ***\n"
29  );
30 
31
32  rtems_test_exit(0);
33}
34
35/* configuration information */
36
37#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
38#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
39
40#define CONFIGURE_MAXIMUM_TASKS             1
41#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
42
43#define CONFIGURE_INIT
44
45#include <rtems/confdefs.h>
46/* end of file */
Note: See TracBrowser for help on using the repository browser.