summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src
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 /cpukit/libcsupport/src
parentPR766: Delete __RTEMS_INSIDE__ (diff)
downloadrtems-ae75429ca1e733ac0eb731962266ffb23a188cbd.tar.bz2
PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__
Diffstat (limited to 'cpukit/libcsupport/src')
-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
8 files changed, 0 insertions, 20 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 *);