diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-23 14:53:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-11-23 14:53:04 +0000 |
commit | fdc57ca4b6794dc17c7b7d94ae557da21e314d6a (patch) | |
tree | 05f3b9f188571998fbf80c23f773c5728a10e724 /cpukit/rtems/src/rtemsobjectidgetindex.c | |
parent | 2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-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 '')
-rw-r--r-- | cpukit/rtems/src/rtemsobjectidgetindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/rtemsobjectidgetindex.c b/cpukit/rtems/src/rtemsobjectidgetindex.c index 1ffef83db6..167b238767 100644 --- a/cpukit/rtems/src/rtemsobjectidgetindex.c +++ b/cpukit/rtems/src/rtemsobjectidgetindex.c @@ -20,7 +20,7 @@ #include <rtems/rtems/types.h> #undef rtems_object_id_get_index -uint32_t rtems_object_id_get_index( +int rtems_object_id_get_index( rtems_id id ) { |