aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-01-06 22:09:08 +0000
committerMark Kettenis <kettenis@gnu.org>2002-01-06 22:09:08 +0000
commit290b2c7ad868d2b56f8b268303526304f4814ff5 (patch)
treea347f1893c62bbe6f37421563c67de23310dace3
parentaef21287e3dc2fa0b8ffbe08f0a969b392559a6d (diff)
downloadgdb-290b2c7ad868d2b56f8b268303526304f4814ff5.zip
gdb-290b2c7ad868d2b56f8b268303526304f4814ff5.tar.gz
gdb-290b2c7ad868d2b56f8b268303526304f4814ff5.tar.bz2
* valops.c (value_arg_coerce): Fix formatting.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/valops.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 159f74c..96fb557 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-06 Mark Kettenis <kettenis@gnu.org>
+
+ * valops.c (value_arg_coerce): Fix formatting.
+
2002-01-06 Andrew Cagney <ac131313@redhat.com>
* hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
diff --git a/gdb/valops.c b/gdb/valops.c
index 2ed9923..cb30222 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -1142,11 +1142,12 @@ standard_coerce_float_to_double (struct type *formal, struct type *actual)
IS_PROTOTYPED is non-zero if the function declaration is prototyped. */
static struct value *
-value_arg_coerce (struct value *arg, struct type *param_type, int is_prototyped)
+value_arg_coerce (struct value *arg, struct type *param_type,
+ int is_prototyped)
{
register struct type *arg_type = check_typedef (VALUE_TYPE (arg));
register struct type *type
- = param_type ? check_typedef (param_type) : arg_type;
+ = param_type ? check_typedef (param_type) : arg_type;
switch (TYPE_CODE (type))
{