summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/rtemsobjectidgetapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/rtemsobjectidgetapi.c')
-rw-r--r--cpukit/rtems/src/rtemsobjectidgetapi.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/cpukit/rtems/src/rtemsobjectidgetapi.c b/cpukit/rtems/src/rtemsobjectidgetapi.c
index bce0eaadf6..dce296cc20 100644
--- a/cpukit/rtems/src/rtemsobjectidgetapi.c
+++ b/cpukit/rtems/src/rtemsobjectidgetapi.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_api
+/* XXX: This is for language bindings */
int rtems_object_id_get_api(
- rtems_id id
+ Objects_Id id
+);
+
+int rtems_object_id_get_api(
+ Objects_Id id
)
{
return _Objects_Get_API( id );