diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-06-29 11:45:54 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-12 16:19:16 +0200 |
commit | 6031a51f1dab45bc6d5f8db1825e8f4f7915a870 (patch) | |
tree | c6ceca7ddaf0852c36abddc75444ba178c56027a /include/libdecnumber/dpd/decimal128.h | |
parent | 121d07125bb6d7079c7ebafdd3efe8c3a01cc440 (diff) |
libdecnumber: Don't fool around with guards to avoid #include
Some libdecnumber headers avoid including decNumber.h or decContext.h
again by checking their header guards. Don't. Including them
multiple times is safe, and the compiler can do it efficiently.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/libdecnumber/dpd/decimal128.h')
-rw-r--r-- | include/libdecnumber/dpd/decimal128.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/libdecnumber/dpd/decimal128.h b/include/libdecnumber/dpd/decimal128.h index 7d9ee24f85..13d1ae81f8 100644 --- a/include/libdecnumber/dpd/decimal128.h +++ b/include/libdecnumber/dpd/decimal128.h @@ -59,9 +59,7 @@ #ifndef DECNUMDIGITS #define DECNUMDIGITS DECIMAL128_Pmax /* size if not already defined*/ #endif - #ifndef DECNUMBER - #include "libdecnumber/decNumber.h" - #endif + #include "libdecnumber/decNumber.h" /* Decimal 128-bit type, accessible by bytes */ typedef struct { |