aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
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
parent239e1f3afa2f6bc24acde3b81481f933b40a3531 (diff)
downloadgdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.zip
gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.tar.gz
gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.tar.bz2
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 09a2e6a..9ee92ad 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;