* valprint.c (val_print_type_code_flags): Fix placement of
authorTom Tromey <tromey@redhat.com>
Thu, 1 Mar 2012 15:50:16 +0000 (15:50 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 1 Mar 2012 15:50:16 +0000 (15:50 +0000)
trailing brace.

gdb/ChangeLog
gdb/valprint.c

index 6338c4c..3db8b8d 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-01  Tom Tromey  <tromey@redhat.com>
+
+       * valprint.c (val_print_type_code_flags): Fix placement of
+       trailing brace.
+
 2012-03-01  Joel Brobecker  <brobecker@adacore.com>
 
        * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete.
index 325cf40..b894be9 100644 (file)
@@ -545,6 +545,7 @@ val_print_type_code_flags (struct type *type, const gdb_byte *valaddr,
        }
     }
   fputs_filtered ("]", stream);
+}
 
 /* Print a scalar of data of type TYPE, pointed to in GDB by VALADDR,
    according to OPTIONS and SIZE on STREAM.  Format i is not supported
@@ -552,7 +553,6 @@ val_print_type_code_flags (struct type *type, const gdb_byte *valaddr,
 
    This is how the elements of an array or structure are printed
    with a format.  */
-}
 
 void
 val_print_scalar_formatted (struct type *type,