summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine')
-rw-r--r--newlib/libc/machine/spu/sys/errno.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/machine/spu/sys/errno.h b/newlib/libc/machine/spu/sys/errno.h
index 62768126e..85aafcfd5 100644
--- a/newlib/libc/machine/spu/sys/errno.h
+++ b/newlib/libc/machine/spu/sys/errno.h
@@ -27,8 +27,8 @@ extern "C" {
#include <sys/reent.h>
-extern struct _reent _reent_data;
-#define errno (_reent_data._errno)
+extern struct _reent _impure_data;
+#define errno (_impure_data._errno)
/* Please don't use these variables directly.
Use strerror instead. */