mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 17:58:19 +08:00
2007-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/objectgetnameasstring.c: Remove bogus ifdef RTEMS_POSIX_API.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* score/src/objectgetnameasstring.c: Remove bogus ifdef
|
||||
RTEMS_POSIX_API.
|
||||
|
||||
2007-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* Makefile.am, preinstall.am, libmisc/Makefile.am, rtems/Makefile.am,
|
||||
|
||||
@@ -34,9 +34,7 @@ char *_Objects_Get_name_as_string(
|
||||
char *name
|
||||
)
|
||||
{
|
||||
#ifdef RTEMS_POSIX_API
|
||||
Objects_Information *information;
|
||||
#endif
|
||||
Objects_Information *information;
|
||||
char *s;
|
||||
char *d;
|
||||
uint32_t i;
|
||||
@@ -67,12 +65,11 @@ char *_Objects_Get_name_as_string(
|
||||
/*
|
||||
* Neither the Classic nor ITRON APIs use string names.
|
||||
*/
|
||||
#ifdef RTEMS_POSIX_API
|
||||
|
||||
#ifdef RTEMS_POSIX_API
|
||||
if ( information->is_string ) {
|
||||
s = the_object->name;
|
||||
} else
|
||||
#endif
|
||||
#endif
|
||||
{
|
||||
uint32_t u32_name = (uint32_t) the_object->name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user