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>
This commit is contained in:
Markus Armbruster 2016-06-29 11:45:54 +02:00
parent 121d07125b
commit 6031a51f1d
4 changed files with 4 additions and 12 deletions

View file

@ -59,9 +59,7 @@
#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 {