diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-07-11 13:50:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-07-11 13:50:50 +0000 |
commit | 9f096c6421ed03bc720c090d6eecc9f7de8fe3b0 (patch) | |
tree | 08217865fabba32b6e4f0a06088a816d61713928 /gdb/c-lang.c | |
parent | e99b7264c5f39b212d766449c02d589d9cdb2256 (diff) | |
download | gdb-9f096c6421ed03bc720c090d6eecc9f7de8fe3b0.tar.gz |
Fix some K&R isms.
Diffstat (limited to 'gdb/c-lang.c')
-rw-r--r-- | gdb/c-lang.c | 6 |
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; |