aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-05-30 00:02:03 +0000
committerJim Blandy <jimb@codesourcery.com>2002-05-30 00:02:03 +0000
commit480dd42ac594298e61859b69d2aee1577f261759 (patch)
tree790fef919501db4620041b316a74fa5f643c40f4
parent36cee7701147d6974f4ef609242b4b863f964857 (diff)
downloadgdb-480dd42ac594298e61859b69d2aee1577f261759.zip
gdb-480dd42ac594298e61859b69d2aee1577f261759.tar.gz
gdb-480dd42ac594298e61859b69d2aee1577f261759.tar.bz2
* macroscope.c (default_macro_scope): Put `void' in empty argument
list.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/macroscope.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f766c2c..01b1a5b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-29 Jim Blandy <jimb@redhat.com>
+
+ * macroscope.c (default_macro_scope): Put `void' in empty argument
+ list.
+
2002-05-29 Andrew Cagney <ac131313@redhat.com>
* Makefile.in (arch-utils.o): Add $(sim_regno_h).
diff --git a/gdb/macroscope.c b/gdb/macroscope.c
index 4441be3..08ff6eb 100644
--- a/gdb/macroscope.c
+++ b/gdb/macroscope.c
@@ -58,7 +58,7 @@ sal_macro_scope (struct symtab_and_line sal)
struct macro_scope *
-default_macro_scope ()
+default_macro_scope (void)
{
struct symtab_and_line sal;
struct macro_source_file *main;