From 27b961a39bbc5e23c33e185b72eefcd39c722e6d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 3 Jul 2009 20:25:35 +0000 Subject: 2009-07-03 Joel Sherrill * itron/src/task.c, posix/src/pthread.c, rtems/src/tasks.c, sapi/src/exinit.c, score/include/rtems/score/apiext.h, score/src/apiext.c: No APIs currently implemented use the predriver_hook so disable it until such time as it is used. --- cpukit/rtems/src/tasks.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpukit/rtems/src/tasks.c') diff --git a/cpukit/rtems/src/tasks.c b/cpukit/rtems/src/tasks.c index 209e92b4e4..66c975cec8 100644 --- a/cpukit/rtems/src/tasks.c +++ b/cpukit/rtems/src/tasks.c @@ -215,7 +215,9 @@ void _RTEMS_tasks_Post_switch_extension( API_extensions_Control _RTEMS_tasks_API_extensions = { { NULL, NULL }, - NULL, /* predriver */ + #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API) + NULL, /* predriver */ + #endif _RTEMS_tasks_Initialize_user_tasks, /* postdriver */ _RTEMS_tasks_Post_switch_extension /* post switch */ }; -- cgit v1.2.3