This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix compiler warning in common/gentmap.c
- From: Thiemo Seufer <ths at networkno dot de>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 7 Nov 2006 19:31:29 +0000
- Subject: [PATCH] Fix compiler warning in common/gentmap.c
Hello All,
I applied the appended patch as obvious.
Thiemo
2006-11-07 Thiemo Seufer <ths@mips.com>
* gentmap.c: Fix compile time warning.
Index: gentmap.c
===================================================================
RCS file: /cvs/src/src/sim/common/gentmap.c,v
retrieving revision 1.2
diff -u -p -r1.2 gentmap.c
--- gentmap.c 9 Jun 2002 15:45:45 -0000 1.2
+++ gentmap.c 7 Nov 2006 19:29:08 -0000
@@ -1,6 +1,7 @@
/* Generate targ-vals.h and targ-map.c. */
#include <stdio.h>
+#include <stdlib.h>
struct tdefs {
char *symbol;