This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]