From 46a67b19814a4e2a9f303f85849bdbf3b7e5d4b7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 1 Jun 2009 14:50:31 +0000 Subject: 2009-06-01 Joel Sherrill * 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. --- cpukit/score/include/rtems/score/thread.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cpukit/score/include/rtems/score/thread.h') 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. */ -- cgit v1.2.3