From: kseitz Date: Thu, 21 Feb 2008 00:24:46 +0000 (+0000) Subject: * stack1.c: Include stdlib.h X-Git-Tag: EOL_registry_mounts~501 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f6c399c596f73fe4c96f44c6e801395567dd6455;p=pf3gnuchains%2Fpf3gnuchains4x.git * stack1.c: Include stdlib.h * simple.c: Likewise. Include string.h. --- diff --git a/gdb/testsuite/gdb.gdbtk/ChangeLog b/gdb/testsuite/gdb.gdbtk/ChangeLog index 176bac7a5a..86e1c0b169 100644 --- a/gdb/testsuite/gdb.gdbtk/ChangeLog +++ b/gdb/testsuite/gdb.gdbtk/ChangeLog @@ -1,3 +1,9 @@ +2008-02-20 Keith Seitz + + * stack1.c: Include stdlib.h + * simple.c: Likewise. + Include string.h. + 2007-06-27 Maciej W. Rozycki * c_variable.c: Include for a declaration of exit(). diff --git a/gdb/testsuite/gdb.gdbtk/simple.c b/gdb/testsuite/gdb.gdbtk/simple.c index 969f688063..c4d4ef5a0a 100644 --- a/gdb/testsuite/gdb.gdbtk/simple.c +++ b/gdb/testsuite/gdb.gdbtk/simple.c @@ -1,3 +1,6 @@ +#include +#include + int main(int argc, char * argv[]) { diff --git a/gdb/testsuite/gdb.gdbtk/stack1.c b/gdb/testsuite/gdb.gdbtk/stack1.c index 389260a22a..c6bff6a62a 100644 --- a/gdb/testsuite/gdb.gdbtk/stack1.c +++ b/gdb/testsuite/gdb.gdbtk/stack1.c @@ -1,3 +1,5 @@ +#include + /* Functions defined in other files */ extern void extern_func1_1 (int a, char *b, unsigned long c);