summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/rtemsobjectgetapiclassname.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/rtemsobjectgetapiclassname.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/rtemsobjectgetapiclassname.c')
-rw-r--r--cpukit/rtems/src/rtemsobjectgetapiclassname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/rtems/src/rtemsobjectgetapiclassname.c b/cpukit/rtems/src/rtemsobjectgetapiclassname.c
index 828feb46d2..56cf8a3197 100644
--- a/cpukit/rtems/src/rtemsobjectgetapiclassname.c
+++ b/cpukit/rtems/src/rtemsobjectgetapiclassname.c
@@ -70,8 +70,8 @@ rtems_assoc_t rtems_object_api_itron_assoc[] = {
#endif
const char *rtems_object_get_api_class_name(
- uint32_t the_api,
- uint32_t the_class
+ int the_api,
+ int the_class
)
{
const rtems_assoc_t *api_assoc;