aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/reent/impure.c
blob: a14f5c3cdab9fd1ef1960ca3866d9ef75ce0077e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <reent.h>

/* 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;