summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/tasks.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-03 20:25:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-03 20:25:35 +0000
commit27b961a39bbc5e23c33e185b72eefcd39c722e6d (patch)
tree92e604c103a8b41b7b8c65a0b373aedc2fd75cd7 /cpukit/rtems/src/tasks.c
parent2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-27b961a39bbc5e23c33e185b72eefcd39c722e6d.tar.bz2
2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/src/tasks.c4
1 files changed, 3 insertions, 1 deletions
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 */
};