From ae75429ca1e733ac0eb731962266ffb23a188cbd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 6 Aug 2013 16:10:26 +0200 Subject: PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__ --- testsuites/libtests/malloctest/init.c | 1 - testsuites/psxtests/psxfatal_support/system.h | 1 - testsuites/psxtests/psxsignal05/init.c | 2 -- testsuites/psxtests/psxstack01/init.c | 1 - testsuites/psxtests/psxstack02/init.c | 1 - testsuites/sptests/sp40/init.c | 2 -- testsuites/sptests/sp67/init.c | 6 ------ testsuites/sptests/sp75/init.c | 1 - testsuites/sptests/spfatal_support/system.h | 1 - testsuites/sptests/spintrcritical06/init.c | 1 - testsuites/sptests/spintrcritical08/init.c | 1 - testsuites/sptests/spintrcritical09/init.c | 1 - testsuites/sptests/spintrcritical10/init.c | 1 - testsuites/sptests/spintrcritical16/init.c | 1 - testsuites/sptests/spobjgetnext/init.c | 1 - 15 files changed, 22 deletions(-) (limited to 'testsuites') 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 #include 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 #include #include 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 #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 #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 #include 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 #include 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 #include #include 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 #include 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 #include 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 #include 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 -- cgit v1.2.3