summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-01 14:50:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-01 14:50:31 +0000
commit46a67b19814a4e2a9f303f85849bdbf3b7e5d4b7 (patch)
treefb04f7fe93a3a7427825f59d4ea80d44bc841f96 /cpukit/score/include
parent2009-05-30 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-46a67b19814a4e2a9f303f85849bdbf3b7e5d4b7.tar.bz2
2009-06-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/thread.h, score/src/threadhandler.c: Merge conditional code from main and init/fini C++ constructors so the body of this method reads better. Mark thread prototypes which are not currently exercised by any APIs with FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API conditional.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/thread.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index 3eba3bc136..bd63e7a4ae 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -99,8 +99,10 @@ typedef uintptr_t Thread_Entry_numeric_type;
typedef enum {
THREAD_START_NUMERIC,
THREAD_START_POINTER,
- THREAD_START_BOTH_POINTER_FIRST,
- THREAD_START_BOTH_NUMERIC_FIRST
+ #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)
+ THREAD_START_BOTH_POINTER_FIRST,
+ THREAD_START_BOTH_NUMERIC_FIRST
+ #endif
} Thread_Start_types;
/** This type corresponds to a very simple style thread entry point. */