From bab16de2671cc5b35e3df9b343e8645b632e3b1d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 7 Feb 2014 09:53:47 +0100 Subject: score: Change debug helper functions Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text(). --- cpukit/rtems/include/rtems/rtems/status.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cpukit/rtems/include/rtems/rtems/status.h') diff --git a/cpukit/rtems/include/rtems/rtems/status.h b/cpukit/rtems/include/rtems/rtems/status.h index 19df500497..f82b1f477c 100644 --- a/cpukit/rtems/include/rtems/rtems/status.h +++ b/cpukit/rtems/include/rtems/rtems/status.h @@ -242,14 +242,16 @@ RTEMS_INLINE_ROUTINE bool rtems_are_statuses_equal( int rtems_status_code_to_errno(rtems_status_code sc); /** - * @brief Returns a description for a status code. + * @brief Returns a text for a status code. + * + * The text for each status code is the enumerator constant. * * @param[in] code The status code. * - * @retval description The status code description. - * @retval ? The passed status code is invalid. + * @retval text The status code text. + * @retval "?" The passed status code is invalid. */ -const char *rtems_status_code_description( rtems_status_code code ); +const char *rtems_status_text( rtems_status_code code ); /**@}*/ -- cgit v1.2.3