aboutsummaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-11-10 01:19:47 +0000
committerKevin Buettner <kevinb@redhat.com>2000-11-10 01:19:47 +0000
commit1669605fa37c222cbce9fa3a1e56feb69c2a7b74 (patch)
tree4ad9b6e524f26ab2b76425808932db5ec9e8d175 /gdb/values.c
parente2a44558ad8bd781b67bb9a9bf5a5a9519f8bbf9 (diff)
downloadfsf-binutils-gdb-1669605fa37c222cbce9fa3a1e56feb69c2a7b74.zip
fsf-binutils-gdb-1669605fa37c222cbce9fa3a1e56feb69c2a7b74.tar.gz
fsf-binutils-gdb-1669605fa37c222cbce9fa3a1e56feb69c2a7b74.tar.bz2
Protoization.
Diffstat (limited to 'gdb/values.c')
-rw-r--r--gdb/values.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/gdb/values.c b/gdb/values.c
index 3f7c2d5..bd4d1af 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -1466,12 +1466,9 @@ value_from_double (struct type *type, DOUBLEST num)
0 when it is using the value returning conventions (this often
means returning pointer to where structure is vs. returning value). */
+/* ARGSUSED */
value_ptr
-value_being_returned (valtype, retbuf, struct_return)
- register struct type *valtype;
- char *retbuf;
- int struct_return;
- /*ARGSUSED */
+value_being_returned (struct type *valtype, char *retbuf, int struct_return)
{
register value_ptr val;
CORE_ADDR addr;
@@ -1530,13 +1527,10 @@ generic_use_struct_convention (int gcc_p, struct type *value_type)
is the type returned by the function. GCC_P is nonzero if compiled
with GCC. */
+/* ARGSUSED */
int
-using_struct_return (function, funcaddr, value_type, gcc_p)
- value_ptr function;
- CORE_ADDR funcaddr;
- struct type *value_type;
- int gcc_p;
- /*ARGSUSED */
+using_struct_return (value_ptr function, CORE_ADDR funcaddr,
+ struct type *value_type, int gcc_p)
{
register enum type_code code = TYPE_CODE (value_type);