forked from Imagelibrary/rtems
2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not available when API is disabled. Do not attempt to use them.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* rtems/src/rtemsobjectgetapiclassname.c: Class name strings are not
|
||||
available when API is disabled. Do not attempt to use them.
|
||||
|
||||
2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* score/include/rtems/system.h: First cut at Doxygen mainpage.
|
||||
|
||||
@@ -84,12 +84,16 @@ const char *rtems_object_get_api_class_name(
|
||||
case OBJECTS_CLASSIC_API:
|
||||
api_assoc = rtems_object_api_classic_assoc;
|
||||
break;
|
||||
#ifdef RTEMS_POSIX_API
|
||||
case OBJECTS_POSIX_API:
|
||||
api_assoc = rtems_object_api_posix_assoc;
|
||||
break;
|
||||
#endif
|
||||
#ifdef RTEMS_ITRON_API
|
||||
case OBJECTS_ITRON_API:
|
||||
api_assoc = rtems_object_api_itron_assoc;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
return "BAD API";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user