fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / reent / impure.c
bloba14f5c3cdab9fd1ef1960ca3866d9ef75ce0077e
1 #include <reent.h>
3 /* Note that there is a copy of this in sys/reent.h. */
4 #ifndef __ATTRIBUTE_IMPURE_PTR__
5 #define __ATTRIBUTE_IMPURE_PTR__
6 #endif
8 #ifndef __ATTRIBUTE_IMPURE_DATA__
9 #define __ATTRIBUTE_IMPURE_DATA__
10 #endif
12 static struct _reent __ATTRIBUTE_IMPURE_DATA__ impure_data = _REENT_INIT (impure_data);
13 struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr = &impure_data;