diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-18 18:15:40 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-21 05:12:56 -0400 |
commit | bee1653593b39ac85b45a057bb8c22dc1489cf6a (patch) | |
tree | 2355e0f097308eacc50718e97f1c21055b79b47c | |
parent | 47fa0c0251413db66a9018fbac6f6266201195ae (diff) |
MIPS: math-emu: Harden ieee754int.h against multiple inclusion.
The header file had no include guards; this only happened to work because
the file only contains macro definitions and protypes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/math-emu/ieee754int.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips/math-emu/ieee754int.h b/arch/mips/math-emu/ieee754int.h index 27ed825ad35a..62d0fdbdb44e 100644 --- a/arch/mips/math-emu/ieee754int.h +++ b/arch/mips/math-emu/ieee754int.h | |||
@@ -23,7 +23,8 @@ | |||
23 | * | 23 | * |
24 | * ######################################################################## | 24 | * ######################################################################## |
25 | */ | 25 | */ |
26 | 26 | #ifndef __IEEE754INT_H | |
27 | #define __IEEE754INT_H | ||
27 | 28 | ||
28 | #include "ieee754.h" | 29 | #include "ieee754.h" |
29 | 30 | ||
@@ -162,3 +163,5 @@ | |||
162 | #define FLUSHYDP FLUSHDP(y, yc, ys, ye, ym) | 163 | #define FLUSHYDP FLUSHDP(y, yc, ys, ye, ym) |
163 | #define FLUSHXSP FLUSHSP(x, xc, xs, xe, xm) | 164 | #define FLUSHXSP FLUSHSP(x, xc, xs, xe, xm) |
164 | #define FLUSHYSP FLUSHSP(y, yc, ys, ye, ym) | 165 | #define FLUSHYSP FLUSHSP(y, yc, ys, ye, ym) |
166 | |||
167 | #endif /* __IEEE754INT_H */ | ||