summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/apiext.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/score/src/apiext.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 'cpukit/score/src/apiext.c')
-rw-r--r--cpukit/score/src/apiext.c40
1 files changed, 21 insertions, 19 deletions
diff --git a/cpukit/score/src/apiext.c b/cpukit/score/src/apiext.c
index 5a2c5f52c7..98590bc817 100644
--- a/cpukit/score/src/apiext.c
+++ b/cpukit/score/src/apiext.c
@@ -41,26 +41,28 @@ void _API_extensions_Add(
_Chain_Append( &_API_extensions_List, &the_extension->Node );
}
-/*PAGE
- *
- * _API_extensions_Run_predriver
- */
-
-void _API_extensions_Run_predriver( void )
-{
- Chain_Node *the_node;
- API_extensions_Control *the_extension;
-
- for ( the_node = _API_extensions_List.first ;
- !_Chain_Is_tail( &_API_extensions_List, the_node ) ;
- the_node = the_node->next ) {
-
- the_extension = (API_extensions_Control *) the_node;
-
- if ( the_extension->predriver_hook )
- (*the_extension->predriver_hook)();
+#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)
+ /*PAGE
+ *
+ * _API_extensions_Run_predriver
+ */
+
+ void _API_extensions_Run_predriver( void )
+ {
+ Chain_Node *the_node;
+ API_extensions_Control *the_extension;
+
+ for ( the_node = _API_extensions_List.first ;
+ !_Chain_Is_tail( &_API_extensions_List, the_node ) ;
+ the_node = the_node->next ) {
+
+ the_extension = (API_extensions_Control *) the_node;
+
+ if ( the_extension->predriver_hook )
+ (*the_extension->predriver_hook)();
+ }
}
-}
+#endif
/*PAGE
*