From 8583f82da05bd7e8ff5dd305e3668c8d620d0756 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 8 Mar 2007 21:43:05 +0000 Subject: [PATCH] 2007-03-08 Joel Sherrill * libmisc/stackchk/check.c, libmisc/stackchk/internal.h, libmisc/stackchk/stackchk.h: Change dump usage to report usage. --- cpukit/ChangeLog | 5 +++++ cpukit/libmisc/stackchk/check.c | 14 ++++---------- cpukit/libmisc/stackchk/internal.h | 4 ++-- cpukit/libmisc/stackchk/stackchk.h | 2 +- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 52c486d382..c2fcd5cadd 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2007-03-08 Joel Sherrill + + * libmisc/stackchk/check.c, libmisc/stackchk/internal.h, + libmisc/stackchk/stackchk.h: Change dump usage to report usage. + 2007-03-08 Joel Sherrill * rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.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; 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