summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-04-16 20:04:08 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-04-16 20:04:08 +0000
commite950505015487147f9bd2c4ad1cc2b944d01bbb4 (patch)
tree4710289ef366a77588527fd94dfd8a71c4999efe /newlib/libc/machine
parentc2bd84bc277805a697189567af2caec7759e2751 (diff)
downloadcygnal-e950505015487147f9bd2c4ad1cc2b944d01bbb4.tar.gz
cygnal-e950505015487147f9bd2c4ad1cc2b944d01bbb4.tar.bz2
cygnal-e950505015487147f9bd2c4ad1cc2b944d01bbb4.zip
2008-04-16 Patrick Mansfield <patmans@us.ibm.com>
* libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
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. */