summaryrefslogtreecommitdiffstats
path: root/newlib/libc/reent/impure.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/reent/impure.c')
-rw-r--r--newlib/libc/reent/impure.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/reent/impure.c b/newlib/libc/reent/impure.c
index a14f5c3cd..27c0e0b5a 100644
--- a/newlib/libc/reent/impure.c
+++ b/newlib/libc/reent/impure.c
@@ -11,3 +11,4 @@
static struct _reent __ATTRIBUTE_IMPURE_DATA__ impure_data = _REENT_INIT (impure_data);
struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr = &impure_data;
+struct _reent *_CONST __ATTRIBUTE_IMPURE_PTR__ _global_impure_ptr = &impure_data;