diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-11 14:54:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-11 14:54:29 +0000 |
commit | 47988fb37bf1f5aac757c92e3ac8be6f0d027d04 (patch) | |
tree | 869cfe18d218535f112630df116c62bb773e3b7d /cpukit/score/inline/rtems/score/object.inl | |
parent | 2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-47988fb37bf1f5aac757c92e3ac8be6f0d027d04.tar.bz2 |
2009-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/object.h,
score/inline/rtems/score/object.inl,
score/src/objectgetnameasstring.c, score/src/objectidtoname.c,
score/src/objectinitializeinformation.c,
score/src/objectnamespaceremove.c, score/src/objectnametoidstring.c,
score/src/objectsetname.c, score/src/thread.c,
score/src/threadcreateidle.c: Disable object string name support when
POSIX is not enabled.
Diffstat (limited to 'cpukit/score/inline/rtems/score/object.inl')
-rw-r--r-- | cpukit/score/inline/rtems/score/object.inl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl index 8bb88e831a..ced5e75a9d 100644 --- a/cpukit/score/inline/rtems/score/object.inl +++ b/cpukit/score/inline/rtems/score/object.inl @@ -336,8 +336,10 @@ RTEMS_INLINE_ROUTINE void _Objects_Open_string( the_object ); - /* ASSERT: information->is_string */ - the_object->name.name_p = name; + #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES) + /* ASSERT: information->is_string */ + the_object->name.name_p = name; + #endif } #endif |