summaryrefslogtreecommitdiff
path: root/gdb/cris-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
commit9f096c6421ed03bc720c090d6eecc9f7de8fe3b0 (patch)
tree08217865fabba32b6e4f0a06088a816d61713928 /gdb/cris-tdep.c
parente99b7264c5f39b212d766449c02d589d9cdb2256 (diff)
downloadgdb-9f096c6421ed03bc720c090d6eecc9f7de8fe3b0.tar.gz
Fix some K&R isms.
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r--gdb/cris-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index 864bac1c7dd..f552de98af0 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -775,7 +775,7 @@ cris_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
the content of the register PC after a function call. */
CORE_ADDR
-cris_saved_pc_after_call ()
+cris_saved_pc_after_call (void)
{
return read_register (SRP_REGNUM);
}
@@ -1520,7 +1520,7 @@ cris_push_return_address (CORE_ADDR pc, CORE_ADDR sp)
all saved registers. */
void
-cris_pop_frame ()
+cris_pop_frame (void)
{
register struct frame_info *fi = get_current_frame ();
register int regno;