mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
Protoization.
This commit is contained in:
@@ -64,8 +64,7 @@ struct ptrace_user pt_struct;
|
||||
*/
|
||||
|
||||
void
|
||||
fetch_inferior_registers (regno)
|
||||
int regno;
|
||||
fetch_inferior_registers (int regno)
|
||||
{
|
||||
register int i, j, ret_val = 0;
|
||||
char buf[128];
|
||||
@@ -142,8 +141,7 @@ fetch_inferior_registers (regno)
|
||||
*/
|
||||
|
||||
void
|
||||
store_inferior_registers (regno)
|
||||
int regno;
|
||||
store_inferior_registers (int regno)
|
||||
{
|
||||
register unsigned int regaddr;
|
||||
char buf[80];
|
||||
@@ -225,8 +223,7 @@ store_inferior_registers (regno)
|
||||
* NOTE: Assumes AMD's Binary Compatibility Standard for ptrace().
|
||||
*/
|
||||
static void
|
||||
fetch_register (regno)
|
||||
int regno;
|
||||
fetch_register (int regno)
|
||||
{
|
||||
char buf[128];
|
||||
int val;
|
||||
@@ -301,9 +298,7 @@ fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr)
|
||||
* will cause ptrace() to fail is returned.
|
||||
*/
|
||||
CORE_ADDR
|
||||
register_addr (regno, blockend)
|
||||
int regno;
|
||||
CORE_ADDR blockend;
|
||||
register_addr (int regno, CORE_ADDR blockend)
|
||||
{
|
||||
if ((regno >= LR0_REGNUM) && (regno < LR0_REGNUM + 128))
|
||||
{
|
||||
@@ -361,7 +356,7 @@ static struct core_fns ultra3_core_fns =
|
||||
};
|
||||
|
||||
void
|
||||
_initialize_core_ultra3 ()
|
||||
_initialize_core_ultra3 (void)
|
||||
{
|
||||
add_core_fns (&ultra3_core_fns);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user