[PATCH] fix buildability on powerpc-none-eabispe

Jeff Johnston jjohnstn@redhat.com
Mon Jan 12 23:37:00 GMT 2009


Patch applied.  Thanks.

-- Jeff J.

Nathan Froyd wrote:
> The patch below restores buildability on powerpc-none-eabispe.  The
> declaration of __sccl in vfscanf.c was conflicting with the declaration
> in libc/stdio/local.h.
>
> Tested by building on powerpc-none-eabi{,spe}.  OK?
>
> -Nathan
>
> Index: newlib/ChangeLog
> ===================================================================
> RCS file: /cvs/src/src/newlib/ChangeLog,v
> retrieving revision 1.1255
> diff -u -r1.1255 ChangeLog
> --- newlib/ChangeLog	8 Jan 2009 00:01:32 -0000	1.1255
> +++ newlib/ChangeLog	12 Jan 2009 21:33:37 -0000
> @@ -1,3 +1,7 @@
> +2009-01-12  Nathan Froyd  <froydnj@codesourcery.com>
> +
> +	* libc/machine/powerpc/vfscanf.c (__sccl): Remove declaration.
> +
>  2009-01-07  Kazu Hirata  <kazu@codesourcery.com>
>  
>  	* libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.
> Index: newlib/libc/machine/powerpc/vfscanf.c
> ===================================================================
> RCS file: /cvs/src/src/newlib/libc/machine/powerpc/vfscanf.c,v
> retrieving revision 1.16
> diff -u -r1.16 vfscanf.c
> --- newlib/libc/machine/powerpc/vfscanf.c	26 Sep 2006 21:22:19 -0000	1.16
> +++ newlib/libc/machine/powerpc/vfscanf.c	12 Jan 2009 21:33:37 -0000
> @@ -208,8 +208,6 @@
>    float f[4];
>  } vec_union;
>  
> -/*static*/ u_char *__sccl ();
> -
>  /*
>   * vfscanf
>   */
>   



More information about the Newlib mailing list