aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-tdep.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/s390-tdep.c
parent239e1f3afa2f6bc24acde3b81481f933b40a3531 (diff)
downloadgdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.zip
gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.tar.gz
gdb-5ae5f592883d573d830841e3ee19d8ee37c3e9d8.tar.bz2
Fix some K&R isms.
Diffstat (limited to 'gdb/s390-tdep.c')
-rw-r--r--gdb/s390-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index b1055ed..f751cdf 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -1189,7 +1189,7 @@ gdb_print_insn_s390 (bfd_vma memaddr, disassemble_info * info)
/* Not the most efficent code in the world */
int
-s390_fp_regnum ()
+s390_fp_regnum (void)
{
int regno = S390_SP_REGNUM;
struct frame_extra_info fextra_info;
@@ -1204,7 +1204,7 @@ s390_fp_regnum ()
}
CORE_ADDR
-s390_read_fp ()
+s390_read_fp (void)
{
return read_register (s390_fp_regnum ());
}
@@ -1246,7 +1246,7 @@ s390_pop_frame_regular (struct frame_info *frame)
Used in the contexts of the "return" command, and of
target function calls from the debugger. */
void
-s390_pop_frame ()
+s390_pop_frame (void)
{
/* This function checks for and handles generic dummy frames, and
calls back to our function for ordinary frames. */
@@ -1874,7 +1874,7 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
void
-_initialize_s390_tdep ()
+_initialize_s390_tdep (void)
{
/* Hook us into the gdbarch mechanism. */