aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
committerKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
commitfba45db2faf619e71856ee38ec63949c0ef6903e (patch)
tree107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/arch-utils.c
parentFix formatting (diff)
downloadbinutils-gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz
binutils-gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2
binutils-gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip
Protoization.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index bf637b58627..8af1373ffea 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -151,17 +151,13 @@ generic_prologue_frameless_p (CORE_ADDR ip)
/* Helper functions for INNER_THAN */
int
-core_addr_lessthan (lhs, rhs)
- CORE_ADDR lhs;
- CORE_ADDR rhs;
+core_addr_lessthan (CORE_ADDR lhs, CORE_ADDR rhs)
{
return (lhs < rhs);
}
int
-core_addr_greaterthan (lhs, rhs)
- CORE_ADDR lhs;
- CORE_ADDR rhs;
+core_addr_greaterthan (CORE_ADDR lhs, CORE_ADDR rhs)
{
return (lhs > rhs);
}
@@ -211,16 +207,14 @@ default_double_format (struct gdbarch *gdbarch)
/* Misc helper functions for targets. */
int
-frame_num_args_unknown (fi)
- struct frame_info *fi;
+frame_num_args_unknown (struct frame_info *fi)
{
return -1;
}
int
-generic_register_convertible_not (num)
- int num;
+generic_register_convertible_not (int num)
{
return 0;
}
@@ -539,8 +533,7 @@ info_architecture (char *args, int from_tty)
byte-order) using information found in the BFD */
void
-set_gdbarch_from_file (abfd)
- bfd *abfd;
+set_gdbarch_from_file (bfd *abfd)
{
if (GDB_MULTI_ARCH)
{