From 8a0efa53e44919bcf5ccb1d3353618a82afdf8bc Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 17 Feb 2000 19:39:52 +0000 Subject: import newlib-2000-02-17 snapshot --- newlib/libc/reent/impure.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 newlib/libc/reent/impure.c (limited to 'newlib/libc/reent/impure.c') diff --git a/newlib/libc/reent/impure.c b/newlib/libc/reent/impure.c new file mode 100644 index 000000000..a14f5c3cd --- /dev/null +++ b/newlib/libc/reent/impure.c @@ -0,0 +1,13 @@ +#include + +/* Note that there is a copy of this in sys/reent.h. */ +#ifndef __ATTRIBUTE_IMPURE_PTR__ +#define __ATTRIBUTE_IMPURE_PTR__ +#endif + +#ifndef __ATTRIBUTE_IMPURE_DATA__ +#define __ATTRIBUTE_IMPURE_DATA__ +#endif + +static struct _reent __ATTRIBUTE_IMPURE_DATA__ impure_data = _REENT_INIT (impure_data); +struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr = &impure_data; -- cgit v1.2.3