diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-03-08 21:43:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-03-08 21:43:05 +0000 |
commit | 8583f82da05bd7e8ff5dd305e3668c8d620d0756 (patch) | |
tree | 56f2420371567f9ae00b9bc4f4fd1ddb2bbe00da /cpukit/libmisc/stackchk/check.c | |
parent | 2007-03-08 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-8583f82da05bd7e8ff5dd305e3668c8d620d0756.tar.bz2 |
2007-03-08 Joel Sherrill <joel@OARcorp.com>
* libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
libmisc/stackchk/stackchk.h: Change dump usage to report usage.
Diffstat (limited to 'cpukit/libmisc/stackchk/check.c')
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index 8fce7d6bec..7da28dade8 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -120,12 +120,6 @@ Stack_check_Control Stack_check_Pattern; Stack_Control stack_check_interrupt_stack; /* - * Prototypes necessary for forward references - */ - -void rtems_stack_checker_dump_usage( void ); - -/* * Fill an entire stack area with BYTE_PATTERN. * This will be used by a Fatal extension to check for * amount of actual stack used @@ -247,7 +241,7 @@ void rtems_stack_checker_initialize( void ) * handler, but we don't run fatal extensions unless * we fatal error. */ - atexit(rtems_stack_checker_dump_usage); + atexit(rtems_stack_checker_report_usage); #endif #endif @@ -508,17 +502,17 @@ void rtems_stack_checker_fatal_extension( { #ifndef DONT_USE_FATAL_EXTENSION if (status == 0) - rtems_stack_checker_dump_usage(); + rtems_stack_checker_report_usage(); #endif } /*PAGE * - * rtems_stack_checker_dump_usage + * rtems_stack_checker_report_usage */ -void rtems_stack_checker_dump_usage( void ) +void rtems_stack_checker_report_usage( void ) { uint32_t i; uint32_t api_index; |