2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>

* libcsupport/src/error.c: Scheduler Simulator compilation always
	defines __RTEMS_VIOLATE_KERNEL_VISIBILITY__. So avoid redefinition
	warning.
This commit is contained in:
Joel Sherrill
2011-01-04 19:53:14 +00:00
parent a84d456ce2
commit 3030975ab6
2 changed files with 12 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/error.c: Scheduler Simulator compilation always
defines __RTEMS_VIOLATE_KERNEL_VISIBILITY__. So avoid redefinition
warning.
2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_readlink.c: readlink
+6 -1
View File
@@ -43,7 +43,12 @@
* }
*/
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
/* 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>