minor reformatting in sim/common/sim-fpu.c.

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.
This commit is contained in:
Joel Brobecker 2016-01-10 07:02:25 +01:00
parent 5c14705fb3
commit 3c8e93b7fa
2 changed files with 9 additions and 2 deletions

View 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 =

View 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;