Make static.
* arm-tdep.c (arm_register_name): Make return type constant.
+2002-07-11 Andrew Cagney <cagney@redhat.com>
+
+ * cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
+ Make static.
+
+ * arm-tdep.c (arm_register_name): Make return type constant.
+
2002-07-10 Andrew Cagney <ac131313@redhat.com>
* win32-nat.c (has_detach_ability): Convert to strict ISO C
}
\f
/* Return the ARM register name corresponding to register I. */
-static char *
+static const char *
arm_register_name (int i)
{
return arm_register_names[i];
/* Returns the register SRP (subroutine return pointer) which must contain
the content of the register PC after a function call. */
-CORE_ADDR
-cris_saved_pc_after_call (void)
+static CORE_ADDR
+cris_saved_pc_after_call (struct frame_info *frame)
{
return read_register (SRP_REGNUM);
}