diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-14 09:40:57 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-14 09:41:37 +0100 |
commit | 62d2540daeb8dac70daa94ab490b626930f92009 (patch) | |
tree | 45e7585de183739741eb1562f6552ea5d1a0c935 | |
parent | score: Add and use _Objects_Get_local() (diff) | |
download | rtems-62d2540daeb8dac70daa94ab490b626930f92009.tar.bz2 |
score: Delete unused SAPI_IO_EXTERN
Update #2559.
-rw-r--r-- | cpukit/sapi/Makefile.am | 2 | ||||
-rw-r--r-- | cpukit/sapi/include/rtems/io.h | 4 | ||||
-rw-r--r-- | cpukit/sapi/src/iodata.c | 26 |
3 files changed, 1 insertions, 31 deletions
diff --git a/cpukit/sapi/Makefile.am b/cpukit/sapi/Makefile.am index d6da88ceff..7377177bc1 100644 --- a/cpukit/sapi/Makefile.am +++ b/cpukit/sapi/Makefile.am @@ -27,7 +27,7 @@ EXTRA_DIST = include/rtems/README noinst_LIBRARIES = libsapi.a libsapi_a_SOURCES = src/extension.c src/extensioncreate.c \ src/extensiondelete.c src/extensionident.c src/fatal.c src/exinit.c \ - src/exshutdown.c src/io.c src/ioclose.c src/iocontrol.c src/iodata.c \ + src/exshutdown.c src/io.c src/ioclose.c src/iocontrol.c \ src/ioinitialize.c src/ioopen.c src/ioread.c src/ioregisterdriver.c \ src/iounregisterdriver.c src/iowrite.c src/posixapi.c \ src/getversionstring.c \ diff --git a/cpukit/sapi/include/rtems/io.h b/cpukit/sapi/include/rtems/io.h index 7a105ce354..f5876a0283 100644 --- a/cpukit/sapi/include/rtems/io.h +++ b/cpukit/sapi/include/rtems/io.h @@ -19,10 +19,6 @@ #ifndef _RTEMS_IO_H #define _RTEMS_IO_H -#ifndef SAPI_IO_EXTERN -#define SAPI_IO_EXTERN extern -#endif - #include <rtems/rtems/status.h> #ifdef __cplusplus diff --git a/cpukit/sapi/src/iodata.c b/cpukit/sapi/src/iodata.c deleted file mode 100644 index e3291ff953..0000000000 --- a/cpukit/sapi/src/iodata.c +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @file - * - * @brief IO Data - * - * @ingroup ClassicIO - */ - -/* - * COPYRIGHT (c) 1989-2007. - * 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 - -/* instantiate RTEMS IO manager data */ -#define SAPI_IO_EXTERN - -#include <rtems/system.h> -#include <rtems/io.h> |