summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/rtemsobjectidgetapi.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-23 14:53:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-11-23 14:53:04 +0000
commitfdc57ca4b6794dc17c7b7d94ae557da21e314d6a (patch)
tree05f3b9f188571998fbf80c23f773c5728a10e724 /cpukit/rtems/src/rtemsobjectidgetapi.c
parent2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-fdc57ca4b6794dc17c7b7d94ae557da21e314d6a.tar.bz2
2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1460/cpukit * rtems/include/rtems/rtems/object.h, rtems/src/rtemsobjectapimaximumclass.c, rtems/src/rtemsobjectgetapiclassname.c, rtems/src/rtemsobjectgetapiname.c, rtems/src/rtemsobjectgetclassinfo.c, rtems/src/rtemsobjectidapimaximum.c, rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c, rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c, rtems/src/rtemsobjectidgetnode.c: Change return type on methods accessing portions of RTEMS Ids to int. This allows -1 to be return on error.
Diffstat (limited to 'cpukit/rtems/src/rtemsobjectidgetapi.c')
-rw-r--r--cpukit/rtems/src/rtemsobjectidgetapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/rtemsobjectidgetapi.c b/cpukit/rtems/src/rtemsobjectidgetapi.c
index 9fd64eb959..999d5702f0 100644
--- a/cpukit/rtems/src/rtemsobjectidgetapi.c
+++ b/cpukit/rtems/src/rtemsobjectidgetapi.c
@@ -20,7 +20,7 @@
#include <rtems/rtems/types.h>
#undef rtems_object_id_get_api
-uint32_t rtems_object_id_get_api(
+int rtems_object_id_get_api(
rtems_id id
)
{