diff options
Diffstat (limited to 'cpukit/include/rtems/score/objectimpl.h')
-rw-r--r-- | cpukit/include/rtems/score/objectimpl.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/cpukit/include/rtems/score/objectimpl.h b/cpukit/include/rtems/score/objectimpl.h index fb14d38452..1a0029b3b0 100644 --- a/cpukit/include/rtems/score/objectimpl.h +++ b/cpukit/include/rtems/score/objectimpl.h @@ -23,6 +23,7 @@ #include <rtems/score/apimutex.h> #include <rtems/score/assert.h> #include <rtems/score/isrlock.h> +#include <rtems/score/status.h> #include <rtems/score/sysstate.h> #include <rtems/score/threaddispatch.h> @@ -461,14 +462,15 @@ size_t _Objects_Name_to_string( * or up to the first four characters of the string based upon * whether this object class uses strings for names. * - * @param information points to the object information structure - * @param[out] the_object is the object to operate upon - * @param name is a pointer to the name to use + * @param information points to the object information. + * @param[out] the_object is the object to operate upon. + * @param name is a pointer to the name to use. * - * @retval true The operation succeeded. - * @retval false The operation failed. + * @retval STATUS_SUCCESSFUL The operation succeeded. + * + * @retval STATUS_NO_MEMORY There was no memory available to duplicate the name. */ -bool _Objects_Set_name( +Status_Control _Objects_Set_name( const Objects_Information *information, Objects_Control *the_object, const char *name |