summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-21 19:27:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-21 19:27:44 +0000
commit90e6d39f8e27a68ddb8ecfd3f5563eb61bb205d4 (patch)
tree7532905fa4fb633de89e8c17b8962676220d4f6a /cpukit
parent2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-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')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/sapi/src/debug.c18
-rw-r--r--cpukit/score/include/rtems/debug.h2
3 files changed, 12 insertions, 13 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 0ae6643fdf..7cb173f974 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2009-07-21 Roxana Leontie <roxana.leontie@gmail.com>
* libmisc/Makefile.am, libmisc/mw-fb/mw_fb.h: mw_fb.h eliminated the
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
)
{
diff --git a/cpukit/score/include/rtems/debug.h b/cpukit/score/include/rtems/debug.h
index dddafec8a6..160491d359 100644
--- a/cpukit/score/include/rtems/debug.h
+++ b/cpukit/score/include/rtems/debug.h
@@ -67,7 +67,7 @@ void rtems_debug_disable (
* This routine returns TRUE if the requested debug level is
* enabled, and FALSE otherwise.
*/
-bool _Debug_Is_enabled(
+bool rtems_is_debug_enabled(
rtems_debug_control level
);