minor reformatting in sim/common/sim-fpu.c.
authorJoel Brobecker <brobecker@adacore.com>
Sun, 10 Jan 2016 06:02:25 +0000 (07:02 +0100)
committerJoel Brobecker <brobecker@adacore.com>
Sun, 17 Jan 2016 05:33:49 +0000 (09:33 +0400)
This patch just makes a copy of formatting changes to better conform
with the GNU Coding Style.

sim/common/ChangeLog:

        * sim-fpu.c (print_bits): Minor reformatting (no code change).
        (sim_fpu_map): Likewise.

sim/common/ChangeLog
sim/common/sim-fpu.c

index b2912fe759ca60c10d44974a0514df10aaadc455..334a2a7d4d5fced0cf8992556dd38ce4deccc32d 100644 (file)
@@ -1,3 +1,8 @@
+2016-01-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * sim-fpu.c (print_bits): Minor reformatting (no code change).
+       (sim_fpu_map): Likewise.
+
 2016-01-11  Mike Frysinger  <vapier@gentoo.org>
 
        * sim-config.c (print_sim_config): Drop extra whitespace before =
index 755977b22be89b19b25270fac0ee6ea9924afd4b..37383ecb234198fe0d7f9f61f213cd54e45bb9da 100644 (file)
@@ -65,7 +65,8 @@ print_bits (unsigned64 x,
        print (arg, "0");
       bit >>= 1;
 
-      if (digits > 0) digits--;
+      if (digits > 0)
+       digits--;
       i = (i + 1) % 4;
     }
 }
@@ -74,7 +75,8 @@ print_bits (unsigned64 x,
 
 /* Quick and dirty conversion between a host double and host 64bit int */
 
-typedef union {
+typedef union
+{
   double d;
   unsigned64 i;
 } sim_fpu_map;
This page took 0.029472 seconds and 4 git commands to generate.