[PATCH] Fix consistency.vlad endian testcase
Geoff Keating
geoffk@geoffk.org
Mon Aug 5 12:14:00 GMT 2002
Jakub Jelinek <jakub@redhat.com> writes:
> Hi!
>
> Without this compiling endian.c by C++ compiler fails (as strcmp
> is not prototyped). Ok to commit?
This is OK.
> 2002-08-05 Jakub Jelinek <jakub@redhat.com>
>
> * consistency.vlad/layout/endian.c: Include string.h.
>
> --- gcc/testsuite/consistency.vlad/layout/endian.c.jj 2001-02-12 20:39:56.000000000 +0100
> +++ gcc/testsuite/consistency.vlad/layout/endian.c 2002-08-05 14:36:58.000000000 +0200
> @@ -1,4 +1,5 @@
> #include <stdio.h>
> +#include <string.h>
>
> static int w[2];
> static char * bytes;
>
> Jakub
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>
More information about the Gcc-patches
mailing list