aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-07-11 13:50:50 +0000
committerAndrew Cagney <cagney@redhat.com>2002-07-11 13:50:50 +0000
commit5ae5f592883d573d830841e3ee19d8ee37c3e9d8 (patch)
tree561059d96b9e16c476a18f2b42a47188e7f1363f /gdb/c-lang.c
parent * elf32-i386.c (elf_i386_relocate_section): Don't complain about (diff)
downloadbinutils-gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.tar.gz
binutils-gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.tar.bz2
binutils-gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.zip
Fix some K&R isms.
Diffstat (limited to 'gdb/c-lang.c')
-rw-r--r--gdb/c-lang.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/c-lang.c b/gdb/c-lang.c
index 09a2e6a968a..9ee92ad8b8c 100644
--- a/gdb/c-lang.c
+++ b/gdb/c-lang.c
@@ -415,14 +415,14 @@ scan_macro_expansion (char *expansion)
int
-scanning_macro_expansion ()
+scanning_macro_expansion (void)
{
return macro_original_text != 0;
}
void
-finished_macro_expansion ()
+finished_macro_expansion (void)
{
/* There'd better be something to pop back to, and we better have
saved a pointer to the start of the expanded text. */
@@ -461,7 +461,7 @@ null_macro_lookup (const char *name, void *baton)
static int
-c_preprocess_and_parse ()
+c_preprocess_and_parse (void)
{
/* Set up a lookup function for the macro expander. */
struct macro_scope *scope = 0;