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/src/objectnametoidstring.c | |
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/src/objectnametoidstring.c')
-rw-r--r-- | cpukit/score/src/objectnametoidstring.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/src/objectnametoidstring.c b/cpukit/score/src/objectnametoidstring.c index da0583401b..4d11d5d11a 100644 --- a/cpukit/score/src/objectnametoidstring.c +++ b/cpukit/score/src/objectnametoidstring.c @@ -16,6 +16,7 @@ #include "config.h" #endif +#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES) #include <string.h> #include <rtems/system.h> @@ -86,3 +87,4 @@ Objects_Name_or_id_lookup_errors _Objects_Name_to_id_string( return OBJECTS_INVALID_NAME; } +#endif |