diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-07 09:53:47 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-12 09:18:00 +0100 |
commit | bab16de2671cc5b35e3df9b343e8645b632e3b1d (patch) | |
tree | f397b31d5a5c2f87e5c3aee69f6cfb39738f7ac2 /cpukit/rtems/include/rtems/rtems/status.h | |
parent | sparc: Save/restore only non-volatile context (diff) | |
download | rtems-bab16de2671cc5b35e3df9b343e8645b632e3b1d.tar.bz2 |
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().
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/status.h')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/status.h | 10 |
1 files changed, 6 insertions, 4 deletions
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 ); /**@}*/ |