summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-06 16:10:26 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-08 14:11:22 +0200
commitae75429ca1e733ac0eb731962266ffb23a188cbd (patch)
treeb927c85b598076f7a377253d2cab0715530e9bee
parentPR766: Delete __RTEMS_INSIDE__ (diff)
downloadrtems-ae75429ca1e733ac0eb731962266ffb23a188cbd.tar.bz2
PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__
-rw-r--r--c/src/ada-tests/support/init.c1
-rw-r--r--c/src/lib/libbsp/i386/shared/irq/irq.c3
-rw-r--r--cpukit/libcsupport/src/__gettod.c2
-rw-r--r--cpukit/libcsupport/src/error.c7
-rw-r--r--cpukit/libcsupport/src/malloc_p.h1
-rw-r--r--cpukit/libcsupport/src/mallocfreespace.c1
-rw-r--r--cpukit/libcsupport/src/mallocgetheapptr.c1
-rw-r--r--cpukit/libcsupport/src/mallocsetheapptr.c1
-rw-r--r--cpukit/libcsupport/src/newlibc_reent.c1
-rw-r--r--cpukit/libcsupport/src/sync.c6
-rw-r--r--cpukit/libfs/src/pipe/fifo.c6
-rw-r--r--cpukit/libmisc/monitor/mon-config.c1
-rw-r--r--cpukit/libmisc/monitor/mon-driver.c2
-rw-r--r--cpukit/libmisc/monitor/mon-itask.c1
-rw-r--r--cpukit/libmisc/monitor/mon-mpci.c1
-rw-r--r--cpukit/libmisc/monitor/mon-object.c1
-rw-r--r--cpukit/libmisc/monitor/mon-symbols.c1
-rw-r--r--cpukit/libmisc/shell/main_wkspaceinfo.c1
-rw-r--r--cpukit/libnetworking/rtems/rtems_glue.c4
-rw-r--r--cpukit/libnetworking/rtems/rtems_malloc_mbuf.c4
-rw-r--r--testsuites/libtests/malloctest/init.c1
-rw-r--r--testsuites/psxtests/psxfatal_support/system.h1
-rw-r--r--testsuites/psxtests/psxsignal05/init.c2
-rw-r--r--testsuites/psxtests/psxstack01/init.c1
-rw-r--r--testsuites/psxtests/psxstack02/init.c1
-rw-r--r--testsuites/sptests/sp40/init.c2
-rw-r--r--testsuites/sptests/sp67/init.c6
-rw-r--r--testsuites/sptests/sp75/init.c1
-rw-r--r--testsuites/sptests/spfatal_support/system.h1
-rw-r--r--testsuites/sptests/spintrcritical06/init.c1
-rw-r--r--testsuites/sptests/spintrcritical08/init.c1
-rw-r--r--testsuites/sptests/spintrcritical09/init.c1
-rw-r--r--testsuites/sptests/spintrcritical10/init.c1
-rw-r--r--testsuites/sptests/spintrcritical16/init.c1
-rw-r--r--testsuites/sptests/spobjgetnext/init.c1
35 files changed, 0 insertions, 68 deletions
diff --git a/c/src/ada-tests/support/init.c b/c/src/ada-tests/support/init.c
index 983e51d578..3321f60d9c 100644
--- a/c/src/ada-tests/support/init.c
+++ b/c/src/ada-tests/support/init.c
@@ -3,7 +3,6 @@
* On-Line Applications Research Corporation (OAR).
*/
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <bsp.h>
#include <stdlib.h>
diff --git a/c/src/lib/libbsp/i386/shared/irq/irq.c b/c/src/lib/libbsp/i386/shared/irq/irq.c
index ac8ee9ae7c..6d304adc22 100644
--- a/c/src/lib/libbsp/i386/shared/irq/irq.c
+++ b/c/src/lib/libbsp/i386/shared/irq/irq.c
@@ -10,9 +10,6 @@
* http://www.rtems.com/license/LICENSE.
*/
-/* so we can see _API_extensions_Run_postswitch */
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
-
#include <bsp.h>
#include <bsp/irq.h>
#include <bsp/irq-generic.h>
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>
diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c
index c8f380ff91..dea4c2b754 100644
--- a/testsuites/libtests/malloctest/init.c
+++ b/testsuites/libtests/malloctest/init.c
@@ -25,7 +25,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/psxtests/psxfatal_support/system.h b/testsuites/psxtests/psxfatal_support/system.h
index e7ba4b12f7..cbfe3e7723 100644
--- a/testsuites/psxtests/psxfatal_support/system.h
+++ b/testsuites/psxtests/psxfatal_support/system.h
@@ -17,7 +17,6 @@
* Some of the fatal error cases require the ability to peek inside RTEMS
*/
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h>
#include <tmacros.h>
diff --git a/testsuites/psxtests/psxsignal05/init.c b/testsuites/psxtests/psxsignal05/init.c
index 3541becdff..dbd812c560 100644
--- a/testsuites/psxtests/psxsignal05/init.c
+++ b/testsuites/psxtests/psxsignal05/init.c
@@ -11,8 +11,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
-
#define TEST_NAME "05"
#define TEST_STRING "User Signals"
#define SIGNAL_ONE SIGUSR1
diff --git a/testsuites/psxtests/psxstack01/init.c b/testsuites/psxtests/psxstack01/init.c
index 71590cfef6..bfd4d007f9 100644
--- a/testsuites/psxtests/psxstack01/init.c
+++ b/testsuites/psxtests/psxstack01/init.c
@@ -11,7 +11,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <pmacros.h>
#include <errno.h>
#include <pthread.h>
diff --git a/testsuites/psxtests/psxstack02/init.c b/testsuites/psxtests/psxstack02/init.c
index 52cbc6a911..d7ae876a22 100644
--- a/testsuites/psxtests/psxstack02/init.c
+++ b/testsuites/psxtests/psxstack02/init.c
@@ -11,7 +11,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <tmacros.h>
#include "test_support.h"
diff --git a/testsuites/sptests/sp40/init.c b/testsuites/sptests/sp40/init.c
index c16fd585e5..bc897c5cf3 100644
--- a/testsuites/sptests/sp40/init.c
+++ b/testsuites/sptests/sp40/init.c
@@ -11,8 +11,6 @@
* http://www.rtems.com/license/LICENSE.
*/
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/testsuites/sptests/sp67/init.c b/testsuites/sptests/sp67/init.c
index 4b78bba026..beccb51868 100644
--- a/testsuites/sptests/sp67/init.c
+++ b/testsuites/sptests/sp67/init.c
@@ -25,12 +25,6 @@ rtems_timer_service_routine TIMER_service_routine(
void *user_data
);
-/*
- * We have to extern this rather than use __RTEMS_VIOLATE_KERNEL_VISIBILITY__
- * because this variable isn't actually in any .h.
- */
-extern Watchdog_Interval _Timer_Server_ticks_last_time;
-
volatile bool _timer_passage_1 = FALSE;
volatile bool _timer_passage_2 = FALSE;
diff --git a/testsuites/sptests/sp75/init.c b/testsuites/sptests/sp75/init.c
index 95ba2e0833..cfd6c5900c 100644
--- a/testsuites/sptests/sp75/init.c
+++ b/testsuites/sptests/sp75/init.c
@@ -11,7 +11,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include "test_support.h"
diff --git a/testsuites/sptests/spfatal_support/system.h b/testsuites/sptests/spfatal_support/system.h
index 69f917f972..ce736cce43 100644
--- a/testsuites/sptests/spfatal_support/system.h
+++ b/testsuites/sptests/spfatal_support/system.h
@@ -14,7 +14,6 @@
/*
* Some of the fatal error cases require the ability to peek inside RTEMS
*/
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h>
#include <tmacros.h>
diff --git a/testsuites/sptests/spintrcritical06/init.c b/testsuites/sptests/spintrcritical06/init.c
index d1cbe4da8b..c073833920 100644
--- a/testsuites/sptests/spintrcritical06/init.c
+++ b/testsuites/sptests/spintrcritical06/init.c
@@ -11,7 +11,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical08/init.c b/testsuites/sptests/spintrcritical08/init.c
index acb10de79f..db770ed562 100644
--- a/testsuites/sptests/spintrcritical08/init.c
+++ b/testsuites/sptests/spintrcritical08/init.c
@@ -11,7 +11,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include <intrcritical.h>
#include <rtems/rtems/ratemonimpl.h>
diff --git a/testsuites/sptests/spintrcritical09/init.c b/testsuites/sptests/spintrcritical09/init.c
index 81f00768e7..02b7f2b5d5 100644
--- a/testsuites/sptests/spintrcritical09/init.c
+++ b/testsuites/sptests/spintrcritical09/init.c
@@ -11,7 +11,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical10/init.c b/testsuites/sptests/spintrcritical10/init.c
index 28fb755fcf..d03f8a4661 100644
--- a/testsuites/sptests/spintrcritical10/init.c
+++ b/testsuites/sptests/spintrcritical10/init.c
@@ -13,7 +13,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spintrcritical16/init.c b/testsuites/sptests/spintrcritical16/init.c
index cdd862fd51..dda7cf8e16 100644
--- a/testsuites/sptests/spintrcritical16/init.c
+++ b/testsuites/sptests/spintrcritical16/init.c
@@ -11,7 +11,6 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <tmacros.h>
#include <intrcritical.h>
diff --git a/testsuites/sptests/spobjgetnext/init.c b/testsuites/sptests/spobjgetnext/init.c
index c6da26db62..52f337188a 100644
--- a/testsuites/sptests/spobjgetnext/init.c
+++ b/testsuites/sptests/spobjgetnext/init.c
@@ -14,7 +14,6 @@
#endif
#define CONFIGURE_INIT
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include "system.h"
#include <rtems/rtems/tasksimpl.h>