diff options
author | Keith Seitz <keiths@redhat.com> | 2008-02-21 00:24:46 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2008-02-21 00:24:46 +0000 |
commit | 4d75b583d08d00a94e2cf3f680fde5707958bc76 (patch) | |
tree | 312618b4bed023ad22740c37c8c9993f58ef54e5 | |
parent | 5d834e14e328939243119cfcab071c546c664b05 (diff) | |
download | gdb-4d75b583d08d00a94e2cf3f680fde5707958bc76.tar.gz |
* stack1.c: Include stdlib.h
* simple.c: Likewise.
Include string.h.
-rw-r--r-- | gdb/testsuite/gdb.gdbtk/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.gdbtk/simple.c | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.gdbtk/stack1.c | 2 |
3 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.gdbtk/ChangeLog b/gdb/testsuite/gdb.gdbtk/ChangeLog index 176bac7a5a2..86e1c0b1697 100644 --- a/gdb/testsuite/gdb.gdbtk/ChangeLog +++ b/gdb/testsuite/gdb.gdbtk/ChangeLog @@ -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(). diff --git a/gdb/testsuite/gdb.gdbtk/simple.c b/gdb/testsuite/gdb.gdbtk/simple.c index 969f6880636..c4d4ef5a0a0 100644 --- a/gdb/testsuite/gdb.gdbtk/simple.c +++ b/gdb/testsuite/gdb.gdbtk/simple.c @@ -1,3 +1,6 @@ +#include <string.h> +#include <stdlib.h> + int main(int argc, char * argv[]) { diff --git a/gdb/testsuite/gdb.gdbtk/stack1.c b/gdb/testsuite/gdb.gdbtk/stack1.c index 389260a22a5..c6bff6a62a3 100644 --- a/gdb/testsuite/gdb.gdbtk/stack1.c +++ b/gdb/testsuite/gdb.gdbtk/stack1.c @@ -1,3 +1,5 @@ +#include <stdlib.h> + /* Functions defined in other files */ extern void extern_func1_1 (int a, char *b, unsigned long c); |