From 8583f82da05bd7e8ff5dd305e3668c8d620d0756 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 8 Mar 2007 21:43:05 +0000 Subject: 2007-03-08 Joel Sherrill * libmisc/stackchk/check.c, libmisc/stackchk/internal.h, libmisc/stackchk/stackchk.h: Change dump usage to report usage. --- cpukit/libmisc/stackchk/check.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'cpukit/libmisc/stackchk/check.c') 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 @@ -119,12 +119,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 @@ -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; -- cgit v1.2.3