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 | 5ae5f592883d573d830841e3ee19d8ee37c3e9d8 (patch) | |
tree | 561059d96b9e16c476a18f2b42a47188e7f1363f /gdb/dwarf2cfi.c | |
parent | 239e1f3afa2f6bc24acde3b81481f933b40a3531 (diff) | |
download | gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.zip gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.tar.gz gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.tar.bz2 |
Fix some K&R isms.
Diffstat (limited to 'gdb/dwarf2cfi.c')
-rw-r--r-- | gdb/dwarf2cfi.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/dwarf2cfi.c b/gdb/dwarf2cfi.c index 8d9567f..3544dce 100644 --- a/gdb/dwarf2cfi.c +++ b/gdb/dwarf2cfi.c @@ -273,7 +273,7 @@ cie_unit_alloc (void) } static void -fde_chunks_need_space () +fde_chunks_need_space (void) { if (fde_chunks.elems < fde_chunks.array_size) return; @@ -286,7 +286,7 @@ fde_chunks_need_space () /* Alocate a new `struct context' on temporary obstack. */ static struct context * -context_alloc () +context_alloc (void) { struct context *context; @@ -303,7 +303,7 @@ context_alloc () /* Alocate a new `struct frame_state' on temporary obstack. */ static struct frame_state * -frame_state_alloc () +frame_state_alloc (void) { struct frame_state *fs; @@ -319,13 +319,13 @@ frame_state_alloc () } static void -unwind_tmp_obstack_init () +unwind_tmp_obstack_init (void) { obstack_init (&unwind_tmp_obstack); } static void -unwind_tmp_obstack_free () +unwind_tmp_obstack_free (void) { obstack_free (&unwind_tmp_obstack, NULL); unwind_tmp_obstack_init (); @@ -1691,7 +1691,7 @@ dwarf2_build_frame_info (struct objfile *objfile) /* Return the frame address. */ CORE_ADDR -cfi_read_fp () +cfi_read_fp (void) { struct context *context; struct frame_state *fs; |