summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-12 07:53:12 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-12 07:53:12 +0100
commit96bb2e4bdf8c97e962ec54b0e09d37970bd734c1 (patch)
tree02f8efc3241a8909062f230b0688a3dd55bdbd56
parenta3730b38ccf668b1801164f33febb8c23428e84b (diff)
downloadrtems-96bb2e4bdf8c97e962ec54b0e09d37970bd734c1.tar.bz2
rtems: Use header file for rtems_object_get_name()
-rw-r--r--cpukit/rtems/src/rtemsobjectgetname.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/cpukit/rtems/src/rtemsobjectgetname.c b/cpukit/rtems/src/rtemsobjectgetname.c
index 24386d353c..d784c14061 100644
--- a/cpukit/rtems/src/rtemsobjectgetname.c
+++ b/cpukit/rtems/src/rtemsobjectgetname.c
@@ -18,18 +18,9 @@
#include "config.h"
#endif
+#include <rtems/rtems/object.h>
#include <rtems/score/objectimpl.h>
-/*
- * This is implemented as a macro. This body is provided to support
- * bindings from non-C based languages.
- */
-char *rtems_object_get_name(
- Objects_Id id,
- size_t length,
- char *name
-);
-
char *rtems_object_get_name(
Objects_Id id,
size_t length,