summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/rtemsobjectgetclassinfo.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/rtemsobjectgetclassinfo.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/rtemsobjectgetclassinfo.c')
-rw-r--r--cpukit/rtems/src/rtemsobjectgetclassinfo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/rtems/src/rtemsobjectgetclassinfo.c b/cpukit/rtems/src/rtemsobjectgetclassinfo.c
index 01ca394216..4f20a6f61f 100644
--- a/cpukit/rtems/src/rtemsobjectgetclassinfo.c
+++ b/cpukit/rtems/src/rtemsobjectgetclassinfo.c
@@ -21,14 +21,14 @@
#include <rtems/rtems/object.h>
rtems_status_code rtems_object_get_class_information(
- uint32_t the_api,
- uint32_t the_class,
+ int the_api,
+ int the_class,
rtems_object_api_class_information *info
)
{
Objects_Information *obj_info;
- uint32_t unallocated;
- uint32_t i;
+ int unallocated;
+ int i;
/*
* Validate parameters and look up information structure.