This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix consistency.vlad endian testcase
- From: Jakub Jelinek <jakub at redhat dot com>
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 5 Aug 2002 20:51:55 +0200
- Subject: [PATCH] Fix consistency.vlad endian testcase
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
Without this compiling endian.c by C++ compiler fails (as strcmp
is not prototyped). Ok to commit?
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