From afd64b4e2d76f981f6828f9f55fcc03784d6915b Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Mon, 18 Sep 2000 00:34:51 +0000 Subject: [PATCH] Protoization. --- gdb/ChangeLog | 5 +++++ gdb/m88k-nat.c | 3 +-- gdb/m88k-tdep.c | 3 +-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 48a46b9f932..e9e591cd896 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-09-17 Kevin Buettner + + * m88k-nat.c (fetch_inferior_registers): Protoize. + * m88k-tdep.c (m88k_skip_prologue): Protoize. + 2000-09-15 Fernando Nasser * varobj.c (varobj_set_value): Call wrapped version of diff --git a/gdb/m88k-nat.c b/gdb/m88k-nat.c index 56ef951cf66..0ce30e71b1a 100644 --- a/gdb/m88k-nat.c +++ b/gdb/m88k-nat.c @@ -62,8 +62,7 @@ extern jmp_buf stack_jmp; extern int errno; void -fetch_inferior_registers (regno) - int regno; /* Original value discarded */ +fetch_inferior_registers (int regno) { register unsigned int regaddr; char buf[MAX_REGISTER_RAW_SIZE]; diff --git a/gdb/m88k-tdep.c b/gdb/m88k-tdep.c index 1cdd4e58992..afe1ca2d7e1 100644 --- a/gdb/m88k-tdep.c +++ b/gdb/m88k-tdep.c @@ -401,8 +401,7 @@ end_of_prologue_found: prologue. */ CORE_ADDR -m88k_skip_prologue (ip) -CORE_ADDR (ip); +m88k_skip_prologue (CORE_ADDR ip) { struct frame_saved_regs saved_regs_dummy; struct symtab_and_line sal; -- 2.30.2