diff options
author | Michael Chastain <mec@google.com> | 2002-02-11 04:47:59 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2002-02-11 04:47:59 +0000 |
commit | 9a81ba5174efe59df521923738da90c4fc127164 (patch) | |
tree | 4fcdcd760960cac0c1085acbaaf5cde4b70fd334 /gdb | |
parent | 434d2d4f74d34f297cdeb511d3a6cb5026da0c1c (diff) | |
download | gdb-9a81ba5174efe59df521923738da90c4fc127164.zip gdb-9a81ba5174efe59df521923738da90c4fc127164.tar.gz gdb-9a81ba5174efe59df521923738da90c4fc127164.tar.bz2 |
2002-02-10 Michael Chastain <mec@shout.net>
* gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
(call_after_alloca): Ditto.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/funcargs.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 313da9a..4fc75f3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-02-10 Michael Chastain <mec@shout.net> + + * gdb.base/funcargs.c (localvars_after_alloca): Fix return type. + (call_after_alloca): Ditto. + 2002-02-10 Daniel Jacobowitz <drow@mvista.com> * gdb.base/ending-run.exp: Guard "cont" test with diff --git a/gdb/testsuite/gdb.base/funcargs.c b/gdb/testsuite/gdb.base/funcargs.c index 98d390b..31c5eec 100644 --- a/gdb/testsuite/gdb.base/funcargs.c +++ b/gdb/testsuite/gdb.base/funcargs.c @@ -634,7 +634,7 @@ void test_struct_args () #ifdef PROTOTYPES void localvars_after_alloca (char c, short s, int i, long l) #else -int +void localvars_after_alloca (c, s, i, l) char c; short s; @@ -671,7 +671,7 @@ char c; int i; short s; long l; unsigned char uc; unsigned short us; unsigned lo #ifdef PROTOTYPES void call_after_alloca (char c, short s, int i, long l) #else -int +void call_after_alloca (c, s, i, l) char c; short s; |