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 | |
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')
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 14 | ||||
-rw-r--r-- | cpukit/libmisc/stackchk/internal.h | 4 | ||||
-rw-r--r-- | cpukit/libmisc/stackchk/stackchk.h | 2 |
3 files changed, 7 insertions, 13 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; diff --git a/cpukit/libmisc/stackchk/internal.h b/cpukit/libmisc/stackchk/internal.h index dfe5af3c2c..2dfbbed3f1 100644 --- a/cpukit/libmisc/stackchk/internal.h +++ b/cpukit/libmisc/stackchk/internal.h @@ -82,10 +82,10 @@ void rtems_stack_checker_fatal_extension( ); /* - * rtems_stack_checker_dump_usage + * rtems_stack_checker_report_usage */ -void rtems_stack_checker_dump_usage( void ); +void rtems_stack_checker_report_usage( void ); #ifdef __cplusplus } diff --git a/cpukit/libmisc/stackchk/stackchk.h b/cpukit/libmisc/stackchk/stackchk.h index 94f04b9dde..4da9343d67 100644 --- a/cpukit/libmisc/stackchk/stackchk.h +++ b/cpukit/libmisc/stackchk/stackchk.h @@ -30,7 +30,7 @@ void rtems_stack_checker_initialize( void ); * rtems_stack_checker_Dump_usage */ -void rtems_stack_checker_dump_usage( void ); +void rtems_stack_checker_report_usage( void ); /* * rtems_stack_checker_create_extension |