Commit 30f7bbd3 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] M68k math emu C99

From: Geert Uytterhoeven <geert@linux-m68k.org>

M68k math emulator: Use C99 struct initializers
parent 3e53488a
......@@ -19,12 +19,13 @@
const struct fp_ext fp_QNaN =
{
0, 0, 0x7fff, { ~0 }
.exp = 0x7fff,
.mant = { .m64 = ~0 }
};
const struct fp_ext fp_Inf =
{
0, 0, 0x7fff, { 0 }
.exp = 0x7fff,
};
/* let's start with the easy ones */
......
......@@ -19,7 +19,7 @@
static const struct fp_ext fp_one =
{
0, 0, 0x3fff, { 0 }
.exp = 0x3fff,
};
extern struct fp_ext *fp_fadd(struct fp_ext *dest, const struct fp_ext *src);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment