diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-24 13:50:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-26 11:55:47 +0200 |
commit | a2e3f33f39e6898c2e2886216fe671b29a93d643 (patch) | |
tree | d304dc7fe4fcf0dcb42a61b8ba99b2c698d8454f /cpukit/rtems/src/rtemsobjectidgetindex.c | |
parent | Include missing <rtems/score/threaddispatch.h> (diff) | |
download | rtems-a2e3f33f39e6898c2e2886216fe671b29a93d643.tar.bz2 |
score: Create object implementation header
Move implementation specific parts of object.h and object.inl into new
header file objectimpl.h. The object.h contains now only the
application visible API.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/src/rtemsobjectidgetindex.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cpukit/rtems/src/rtemsobjectidgetindex.c b/cpukit/rtems/src/rtemsobjectidgetindex.c index 281e896007..8a08bb2d9f 100644 --- a/cpukit/rtems/src/rtemsobjectidgetindex.c +++ b/cpukit/rtems/src/rtemsobjectidgetindex.c @@ -18,13 +18,15 @@ #include "config.h" #endif -#include <rtems/system.h> -#include <rtems/score/object.h> -#include <rtems/rtems/types.h> +#include <rtems/score/objectimpl.h> -#undef rtems_object_id_get_index +/* XXX: This is for language bindings */ int rtems_object_id_get_index( - rtems_id id + Objects_Id id +); + +int rtems_object_id_get_index( + Objects_Id id ) { return _Objects_Get_index( id ); |