This is the mail archive of the gdb-patches@sources.redhat.com 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/testsuite] unload.c: Add #include


gcc HEAD new warning strikes some more.

Tested on native i686-pc-linux-gnu, gcc 2.95.3 3.3.4 3.4.1 HEAD,
dwarf-2 and stabs+.

I am committing this now.

2004-08-26  Michael Chastain  <mec.gnu@mindspring.com>

	* gdb.base/unload.c: Include <stdlib.h>.

Index: gdb.base/unload.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/unload.c,v
retrieving revision 1.2
diff -c -3 -p -r1.2 unload.c
*** gdb.base/unload.c	15 Aug 2004 10:24:08 -0000	1.2
--- gdb.base/unload.c	26 Aug 2004 19:21:15 -0000
***************
*** 17,22 ****
--- 17,23 ----
     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
  
  #include <stdio.h>
+ #include <stdlib.h>
  #include <dlfcn.h>
  
  int k = 0;


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