This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/testsuite] gdb.base/charset.c: #include <stdlib.h>
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 04 Aug 2004 20:31:28 -0400
- Subject: [patch/testsuite] gdb.base/charset.c: #include <stdlib.h>
Another #include patch for the new picky gcc.
I know I'm creating a lot of cvs commits this way, but it's much easier
for me to deal with one file at a time because some of them need
copyright notices and because I may have to break off work before I
could finish the whole lot, so it's easier for me to work incrementally.
Tested on native i686-pc-linux-gnu, gcc 2.95.3 3.3.4 3.4.1 HEAD-20040804,
dwarf-2 and stabs+.
I am committing this now.
Michael C
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/charset.c: Include <stdlib.h>.
Index: gdb.base/charset.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/charset.c,v
retrieving revision 1.3
diff -c -3 -p -r1.3 charset.c
*** gdb.base/charset.c 26 Feb 2004 17:23:23 -0000 1.3
--- gdb.base/charset.c 5 Aug 2004 00:25:20 -0000
***************
*** 22,27 ****
--- 22,28 ----
bug-gdb@gnu.org */
#include <stdio.h>
+ #include <stdlib.h>
#include <string.h>