diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-21 19:27:44 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-21 19:27:44 +0000 |
commit | 90e6d39f8e27a68ddb8ecfd3f5563eb61bb205d4 (patch) | |
tree | 7532905fa4fb633de89e8c17b8962676220d4f6a /cpukit/sapi | |
parent | 2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-90e6d39f8e27a68ddb8ecfd3f5563eb61bb205d4.tar.bz2 |
2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/src/debug.c, score/include/rtems/debug.h: Rename
_Debug_Is_enabled to rtems_is_debug_enabled.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/src/debug.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/cpukit/sapi/src/debug.c b/cpukit/sapi/src/debug.c index 38e05c9982..fc9d57d874 100644 --- a/cpukit/sapi/src/debug.c +++ b/cpukit/sapi/src/debug.c @@ -1,7 +1,7 @@ /* * Debug Manager * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -18,11 +18,10 @@ #include <rtems/system.h> #include <rtems/debug.h> -/*PAGE +/* * * _Debug_Manager_initialization */ - void _Debug_Manager_initialization( void ) { rtems_debug_disable( RTEMS_DEBUG_ALL_MASK ); @@ -32,7 +31,6 @@ void _Debug_Manager_initialization( void ) * * rtems_debug_enable */ - void rtems_debug_enable ( rtems_debug_control to_be_enabled ) @@ -40,11 +38,9 @@ void rtems_debug_enable ( _Debug_Level |= to_be_enabled; } -/*PAGE - * +/* * rtems_debug_disable */ - void rtems_debug_disable ( rtems_debug_control to_be_disabled ) @@ -52,12 +48,10 @@ void rtems_debug_disable ( _Debug_Level &= ~to_be_disabled; } -/*PAGE - * - * _Debug_Is_enabled +/* + * rtems_debug_is_enabled */ - -bool _Debug_Is_enabled( +bool rtems_debug_is_enabled( rtems_debug_control level ) { |