summaryrefslogtreecommitdiffstats
path: root/cpukit/itron/src/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/itron/src/task.c')
-rw-r--r--cpukit/itron/src/task.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/itron/src/task.c b/cpukit/itron/src/task.c
index 180924eb3d..7c242676ce 100644
--- a/cpukit/itron/src/task.c
+++ b/cpukit/itron/src/task.c
@@ -112,8 +112,10 @@ void _ITRON_Task_Initialize_user_tasks( void )
API_extensions_Control _ITRON_Task_API_extensions = {
{ NULL, NULL },
- NULL, /* predriver */
- _ITRON_Task_Initialize_user_tasks, /* postdriver */
+ #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)
+ NULL, /* predriver */
+ #endif
+ _ITRON_Task_Initialize_user_tasks, /* postdriver */
NULL /* post switch */
};