source: rtems/testsuites/libtests/stackchk01/init.c @ 78da8ac3

4.115
Last change on this file since 78da8ac3 was dd76d6b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/26/09 at 05:49:32

Remove unused vars.

  • Property mode set to 100644
File size: 948 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2009.
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 *  $Id$
10 */
11
12#include <tmacros.h>
13#include <rtems/stackchk.h>
14
15rtems_task Init(
16  rtems_task_argument argument
17)
18{
19  bool              blown;
20
21  puts( "\n\n*** TEST STACK CHECKER 01 ***" );
22
23  puts( "stack_checker_is_blown - NOT BLOWN" );
24  blown = rtems_stack_checker_is_blown();
25  rtems_test_assert(!blown);
26
27  puts( "*** END OF TEST STACK CHECKER 01 ***" );
28  rtems_test_exit(0);
29}
30
31/* configuration information */
32
33#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
34#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
35
36#define CONFIGURE_MAXIMUM_TASKS 1
37#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
38
39#define CONFIGURE_STACK_CHECKER_ENABLED
40
41#define CONFIGURE_INIT
42#include <rtems/confdefs.h>
43
Note: See TracBrowser for help on using the repository browser.