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>
#define DECFULLNAME "Decimal Number Module" /* Verbose name */
#define DECAUTHOR "Mike Cowlishaw" /* Who to blame */
- #if !defined(DECCONTEXT)
- #include "libdecnumber/decContext.h"
- #endif
+ #include "libdecnumber/decContext.h"
/* Bit settings for decNumber.bits */
#define DECNEG 0x80 /* Sign; 1=negative, 0=positive or zero */
#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 {
#ifndef DECNUMDIGITS
#define DECNUMDIGITS DECIMAL32_Pmax /* size if not already defined*/
#endif
- #ifndef DECNUMBER
- #include "libdecnumber/decNumber.h"
- #endif
+ #include "libdecnumber/decNumber.h"
/* Decimal 32-bit type, accessible by bytes */
typedef struct {
#ifndef DECNUMDIGITS
#define DECNUMDIGITS DECIMAL64_Pmax /* size if not already defined*/
#endif
- #ifndef DECNUMBER
- #include "libdecnumber/decNumber.h"
- #endif
+ #include "libdecnumber/decNumber.h"
/* Decimal 64-bit type, accessible by bytes */
typedef struct {