diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-26 11:16:56 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 10:00:58 +0100 |
commit | 3bc12a8f5ade29161ca356f60f79c2283ebf2f5c (patch) | |
tree | 3539c88a81953b560dad2c6baf6a3aeb3c373c2d /cpukit/score/src | |
parent | Use linker set for POSIX User Threads init (diff) | |
download | rtems-3bc12a8f5ade29161ca356f60f79c2283ebf2f5c.tar.bz2 |
Delete unused API extensions
Diffstat (limited to 'cpukit/score/src')
-rw-r--r-- | cpukit/score/src/apiext.c | 49 | ||||
-rw-r--r-- | cpukit/score/src/threaddispatch.c | 1 |
2 files changed, 0 insertions, 50 deletions
diff --git a/cpukit/score/src/apiext.c b/cpukit/score/src/apiext.c deleted file mode 100644 index c91590bd13..0000000000 --- a/cpukit/score/src/apiext.c +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @file - * - * @brief Holding for API Extension Functions - * - * @ingroup ScoreAPIExtension - */ - -/* - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#include <rtems/score/apiext.h> - -static CHAIN_DEFINE_EMPTY( _API_extensions_List ); - -void _API_extensions_Add( - API_extensions_Control *the_extension -) -{ - _Chain_Append( &_API_extensions_List, &the_extension->Node ); -} - -void _API_extensions_Run_postdriver( void ) -{ - Chain_Node *the_node; - API_extensions_Control *the_extension; - - for ( the_node = _Chain_First( &_API_extensions_List ); - !_Chain_Is_tail( &_API_extensions_List, the_node ) ; - the_node = the_node->next ) { - - the_extension = (API_extensions_Control *) the_node; - - /* - * Currently all APIs configure this hook so it is always non-NULL. - */ - (*the_extension->postdriver_hook)(); - } -} diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c index 00c2f095a2..dc3c796718 100644 --- a/cpukit/score/src/threaddispatch.c +++ b/cpukit/score/src/threaddispatch.c @@ -21,7 +21,6 @@ #endif #include <rtems/score/threaddispatch.h> -#include <rtems/score/apiext.h> #include <rtems/score/assert.h> #include <rtems/score/isr.h> #include <rtems/score/threadimpl.h> |