diff options
Diffstat (limited to 'cpukit/rtems/src/rtemsobjectidgetclass.c')
-rw-r--r-- | cpukit/rtems/src/rtemsobjectidgetclass.c | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/cpukit/rtems/src/rtemsobjectidgetclass.c b/cpukit/rtems/src/rtemsobjectidgetclass.c index bc2d11a5ea..6b817e55fe 100644 --- a/cpukit/rtems/src/rtemsobjectidgetclass.c +++ b/cpukit/rtems/src/rtemsobjectidgetclass.c @@ -20,19 +20,16 @@ #include "config.h" #endif -#include <rtems/score/objectimpl.h> +#include <rtems/rtems/object.h> -/* - * This is implemented as a macro. This body is provided to support - * bindings from non-C based languages. - */ -int rtems_object_id_get_class( - Objects_Id id -); +static int _RTEMS_Object_id_get_class( rtems_id id ) +{ + return rtems_object_id_get_class( id ); +} + +#undef rtems_object_id_get_class -int rtems_object_id_get_class( - Objects_Id id -) +int rtems_object_id_get_class( rtems_id id ) { - return _Objects_Get_class( id ); + return _RTEMS_Object_id_get_class( id ); } |