diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-06 16:10:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-08 14:11:22 +0200 |
commit | ae75429ca1e733ac0eb731962266ffb23a188cbd (patch) | |
tree | b927c85b598076f7a377253d2cab0715530e9bee /cpukit | |
parent | PR766: Delete __RTEMS_INSIDE__ (diff) | |
download | rtems-ae75429ca1e733ac0eb731962266ffb23a188cbd.tar.bz2 |
PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/libcsupport/src/__gettod.c | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/error.c | 7 | ||||
-rw-r--r-- | cpukit/libcsupport/src/malloc_p.h | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/mallocfreespace.c | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/mallocgetheapptr.c | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/mallocsetheapptr.c | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/newlibc_reent.c | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/sync.c | 6 | ||||
-rw-r--r-- | cpukit/libfs/src/pipe/fifo.c | 6 | ||||
-rw-r--r-- | cpukit/libmisc/monitor/mon-config.c | 1 | ||||
-rw-r--r-- | cpukit/libmisc/monitor/mon-driver.c | 2 | ||||
-rw-r--r-- | cpukit/libmisc/monitor/mon-itask.c | 1 | ||||
-rw-r--r-- | cpukit/libmisc/monitor/mon-mpci.c | 1 | ||||
-rw-r--r-- | cpukit/libmisc/monitor/mon-object.c | 1 | ||||
-rw-r--r-- | cpukit/libmisc/monitor/mon-symbols.c | 1 | ||||
-rw-r--r-- | cpukit/libmisc/shell/main_wkspaceinfo.c | 1 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_glue.c | 4 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_malloc_mbuf.c | 4 |
18 files changed, 0 insertions, 42 deletions
diff --git a/cpukit/libcsupport/src/__gettod.c b/cpukit/libcsupport/src/__gettod.c index 7de6a1cd24..a07497d2f1 100644 --- a/cpukit/libcsupport/src/__gettod.c +++ b/cpukit/libcsupport/src/__gettod.c @@ -18,8 +18,6 @@ #include "config.h" #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ - #if defined(RTEMS_NEWLIB) #include <sys/time.h> #include <errno.h> diff --git a/cpukit/libcsupport/src/error.c b/cpukit/libcsupport/src/error.c index 9933e14d60..1a682c0352 100644 --- a/cpukit/libcsupport/src/error.c +++ b/cpukit/libcsupport/src/error.c @@ -9,14 +9,7 @@ #include "config.h" #endif -/* This is always defined on RTEMS Scheduler Simulator and thus - * we get a redefined warning if this is not present. - */ -#ifndef __RTEMS_VIOLATE_KERNEL_VISIBILITY__ - #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ -#endif #include <rtems.h> - #include <rtems/error.h> #include <rtems/assoc.h> #include <rtems/score/sysstate.h> diff --git a/cpukit/libcsupport/src/malloc_p.h b/cpukit/libcsupport/src/malloc_p.h index 6bd9a495f7..e7780ecd84 100644 --- a/cpukit/libcsupport/src/malloc_p.h +++ b/cpukit/libcsupport/src/malloc_p.h @@ -9,7 +9,6 @@ * http://www.rtems.com/license/LICENSE. */ -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> #include <rtems/libcsupport.h> #include <rtems/score/protectedheap.h> diff --git a/cpukit/libcsupport/src/mallocfreespace.c b/cpukit/libcsupport/src/mallocfreespace.c index 2b262ca272..44fe7a955f 100644 --- a/cpukit/libcsupport/src/mallocfreespace.c +++ b/cpukit/libcsupport/src/mallocfreespace.c @@ -18,7 +18,6 @@ #include "config.h" #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> #include <rtems/libcsupport.h> #include <rtems/score/protectedheap.h> diff --git a/cpukit/libcsupport/src/mallocgetheapptr.c b/cpukit/libcsupport/src/mallocgetheapptr.c index 7392d67831..c40bc75cf0 100644 --- a/cpukit/libcsupport/src/mallocgetheapptr.c +++ b/cpukit/libcsupport/src/mallocgetheapptr.c @@ -18,7 +18,6 @@ #include "config.h" #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> #include <rtems/libcsupport.h> #include "malloc_p.h" diff --git a/cpukit/libcsupport/src/mallocsetheapptr.c b/cpukit/libcsupport/src/mallocsetheapptr.c index 414918a4b5..d5060b290f 100644 --- a/cpukit/libcsupport/src/mallocsetheapptr.c +++ b/cpukit/libcsupport/src/mallocsetheapptr.c @@ -18,7 +18,6 @@ #include "config.h" #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> #include <rtems/libcsupport.h> #include "malloc_p.h" diff --git a/cpukit/libcsupport/src/newlibc_reent.c b/cpukit/libcsupport/src/newlibc_reent.c index 50fd8399cf..b7ac60af61 100644 --- a/cpukit/libcsupport/src/newlibc_reent.c +++ b/cpukit/libcsupport/src/newlibc_reent.c @@ -18,7 +18,6 @@ #include "config.h" #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> #if defined(RTEMS_NEWLIB) diff --git a/cpukit/libcsupport/src/sync.c b/cpukit/libcsupport/src/sync.c index 6cb6a2807d..ede594d80d 100644 --- a/cpukit/libcsupport/src/sync.c +++ b/cpukit/libcsupport/src/sync.c @@ -29,12 +29,6 @@ int fdatasync(int); /* still not always prototyped */ #include <stdio.h> #include <rtems.h> -/* -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ - -#include <rtems/libio_.h> -#include <rtems/seterr.h> -*/ /* XXX check standards -- Linux version appears to be void */ void _fwalk(struct _reent *, void *); diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c index eef360c311..e31ee7c5bf 100644 --- a/cpukit/libfs/src/pipe/fifo.c +++ b/cpukit/libfs/src/pipe/fifo.c @@ -18,10 +18,6 @@ #include "config.h" #endif -#ifdef RTEMS_POSIX_API -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ -#endif - #include <errno.h> #include <stdlib.h> #include <string.h> @@ -69,8 +65,6 @@ static rtems_id pipe_semaphore = RTEMS_ID_NONE; #ifdef RTEMS_POSIX_API -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ - #include <rtems/rtems/barrier.h> #include <rtems/score/thread.h> diff --git a/cpukit/libmisc/monitor/mon-config.c b/cpukit/libmisc/monitor/mon-config.c index d10c14c721..00eec9b902 100644 --- a/cpukit/libmisc/monitor/mon-config.c +++ b/cpukit/libmisc/monitor/mon-config.c @@ -8,7 +8,6 @@ #include "config.h" #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> #include <rtems/monitor.h> diff --git a/cpukit/libmisc/monitor/mon-driver.c b/cpukit/libmisc/monitor/mon-driver.c index 7fc520f07d..70073c67a6 100644 --- a/cpukit/libmisc/monitor/mon-driver.c +++ b/cpukit/libmisc/monitor/mon-driver.c @@ -21,9 +21,7 @@ #include "config.h" #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> - #include <rtems/monitor.h> #include <stdio.h> diff --git a/cpukit/libmisc/monitor/mon-itask.c b/cpukit/libmisc/monitor/mon-itask.c index 85447613d8..a1cca302ff 100644 --- a/cpukit/libmisc/monitor/mon-itask.c +++ b/cpukit/libmisc/monitor/mon-itask.c @@ -6,7 +6,6 @@ #include "config.h" #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> #include <rtems/monitor.h> diff --git a/cpukit/libmisc/monitor/mon-mpci.c b/cpukit/libmisc/monitor/mon-mpci.c index 1ab5974a52..14e538d35d 100644 --- a/cpukit/libmisc/monitor/mon-mpci.c +++ b/cpukit/libmisc/monitor/mon-mpci.c @@ -8,7 +8,6 @@ #include "config.h" #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> #include <rtems/monitor.h> diff --git a/cpukit/libmisc/monitor/mon-object.c b/cpukit/libmisc/monitor/mon-object.c index bac8eeec59..1e54c22cf9 100644 --- a/cpukit/libmisc/monitor/mon-object.c +++ b/cpukit/libmisc/monitor/mon-object.c @@ -17,7 +17,6 @@ #include "config.h" #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> #include <rtems/monitor.h> #include <rtems/extensionimpl.h> diff --git a/cpukit/libmisc/monitor/mon-symbols.c b/cpukit/libmisc/monitor/mon-symbols.c index 0d1f1c905c..b434b1214e 100644 --- a/cpukit/libmisc/monitor/mon-symbols.c +++ b/cpukit/libmisc/monitor/mon-symbols.c @@ -18,7 +18,6 @@ #include <strings.h> #endif -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #include <rtems.h> #include <stdio.h> #include <stdlib.h> diff --git a/cpukit/libmisc/shell/main_wkspaceinfo.c b/cpukit/libmisc/shell/main_wkspaceinfo.c index 7a2f819a0b..0bc0da75ab 100644 --- a/cpukit/libmisc/shell/main_wkspaceinfo.c +++ b/cpukit/libmisc/shell/main_wkspaceinfo.c @@ -9,7 +9,6 @@ * http://www.rtems.com/license/LICENSE. */ -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/cpukit/libnetworking/rtems/rtems_glue.c b/cpukit/libnetworking/rtems/rtems_glue.c index e5163acae2..8ed17d1bf0 100644 --- a/cpukit/libnetworking/rtems/rtems_glue.c +++ b/cpukit/libnetworking/rtems/rtems_glue.c @@ -4,10 +4,6 @@ #define RTEMS_FAST_MUTEX -#ifdef RTEMS_FAST_MUTEX -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1 -#endif - #include <string.h> #include <stdarg.h> #include <stdio.h> diff --git a/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c b/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c index 7d896871d9..602876a76b 100644 --- a/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c +++ b/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c @@ -4,10 +4,6 @@ #define RTEMS_FAST_MUTEX -#ifdef RTEMS_FAST_MUTEX -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1 -#endif - #include <string.h> #include <stdarg.h> #include <stdio.h> |