4.115
Last change
on this file since 4c86e3d was
4c86e3d,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/12 at 17:20:47
|
libtmtests - Eliminate missing prototype warnings
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
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 <rtems/stackchk.h> |
---|
16 | |
---|
17 | /* forward declarations to avoid warnings */ |
---|
18 | rtems_task Init(rtems_task_argument argument); |
---|
19 | |
---|
20 | rtems_task Init( |
---|
21 | rtems_task_argument argument |
---|
22 | ) |
---|
23 | { |
---|
24 | bool blown; |
---|
25 | |
---|
26 | puts( "\n\n*** TEST STACK CHECKER 01 ***" ); |
---|
27 | |
---|
28 | puts( "stack_checker_is_blown - NOT BLOWN" ); |
---|
29 | blown = rtems_stack_checker_is_blown(); |
---|
30 | rtems_test_assert(!blown); |
---|
31 | |
---|
32 | puts( "*** END OF TEST STACK CHECKER 01 ***" ); |
---|
33 | rtems_test_exit(0); |
---|
34 | } |
---|
35 | |
---|
36 | /* configuration information */ |
---|
37 | |
---|
38 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
39 | #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER |
---|
40 | |
---|
41 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
42 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
43 | |
---|
44 | #define CONFIGURE_STACK_CHECKER_ENABLED |
---|
45 | |
---|
46 | #define CONFIGURE_INIT |
---|
47 | #include <rtems/confdefs.h> |
---|
48 | |
---|
Note: See
TracBrowser
for help on using the repository browser.