This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] add missing underscore to spu impura_data
- From: Patrick Mansfield <patmans at us dot ibm dot com>
- To: newlib at sourceware dot org, Jeff Johnston <jjohnstn at redhat dot com>
- Date: Wed, 16 Apr 2008 11:47:49 -0700
- Subject: Re: [PATCH] add missing underscore to spu impura_data
- References: <20080416184142.GA8925@us.ibm.com>
Oh don't apply, I still have errno wrong, fixing that too.
I thought I had tested all of this, sorry.
On Wed, Apr 16, 2008 at 11:41:42AM -0700, Patrick Mansfield wrote:
> I left out an underscore with the spu errno change, fix that.
>
> Thanks ...
>
> 2008-04-16 Patrick Mansfield <patmans@us.ibm.com>
> * libc/machine/spu/impure.c: Add missing underscore to impure_data.
>
> Index: quilt/newlib/libc/machine/spu/impure.c
> ===================================================================
> --- quilt.orig/newlib/libc/machine/spu/impure.c
> +++ quilt/newlib/libc/machine/spu/impure.c
> @@ -9,6 +9,6 @@
> #define __ATTRIBUTE_IMPURE_DATA__
> #endif
>
> -struct _reent __ATTRIBUTE_IMPURE_DATA__ _impure_data = _REENT_INIT(impure_data);
> +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;