4.104.115
Last change
on this file since fdc57ca was
fdc57ca,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/09 at 14:53:04
|
2009-11-23 Joel Sherrill <joel.sherrill@…>
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.
|
-
Property mode set to
100644
|
File size:
568 bytes
|
Rev | Line | |
---|
[6c06288] | 1 | /* |
---|
| 2 | * RTEMS Object Helper -- Get Greatest Valid API Number |
---|
| 3 | * |
---|
| 4 | * COPYRIGHT (c) 1989-2008. |
---|
| 5 | * On-Line Applications Research Corporation (OAR). |
---|
| 6 | * |
---|
| 7 | * The license and distribution terms for this file may be |
---|
| 8 | * found in the file LICENSE in this distribution or at |
---|
| 9 | * http://www.rtems.com/license/LICENSE. |
---|
| 10 | * |
---|
| 11 | * $Id$ |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | #ifdef HAVE_CONFIG_H |
---|
| 15 | #include "config.h" |
---|
| 16 | #endif |
---|
| 17 | |
---|
| 18 | #include <rtems/system.h> |
---|
| 19 | #include <rtems/score/object.h> |
---|
| 20 | #include <rtems/rtems/types.h> |
---|
| 21 | |
---|
| 22 | #undef rtems_object_id_api_maximum |
---|
[fdc57ca] | 23 | int rtems_object_id_api_maximum(void) |
---|
[6c06288] | 24 | { |
---|
| 25 | return OBJECTS_ITRON_API; |
---|
| 26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.