OSDN Git Service

* stack1.c: Include stdlib.h
authorkseitz <kseitz>
Thu, 21 Feb 2008 00:24:46 +0000 (00:24 +0000)
committerkseitz <kseitz>
Thu, 21 Feb 2008 00:24:46 +0000 (00:24 +0000)
        * simple.c: Likewise.
        Include string.h.

gdb/testsuite/gdb.gdbtk/ChangeLog
gdb/testsuite/gdb.gdbtk/simple.c
gdb/testsuite/gdb.gdbtk/stack1.c

index 176bac7..86e1c0b 100644 (file)
@@ -1,3 +1,9 @@
+2008-02-20  Keith Seitz  <keiths@redhat.com>
+
+       * stack1.c: Include stdlib.h
+       * simple.c: Likewise.
+       Include string.h.
+
 2007-06-27  Maciej W. Rozycki  <macro@mips.com>
 
        * c_variable.c: Include <stdlib.h> for a declaration of exit().
index 969f688..c4d4ef5 100644 (file)
@@ -1,3 +1,6 @@
+#include <string.h>
+#include <stdlib.h>
+
 int
 main(int argc, char * argv[])
 {
index 389260a..c6bff6a 100644 (file)
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+
 /* Functions defined in other files */
 extern void extern_func1_1 (int a, char *b, unsigned long c);