diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-09 11:02:46 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-16 14:29:27 +0000 |
commit | 7a4e543de6637cda4dcc4a060b9225a863f7c721 (patch) | |
tree | a3119d7b3357c0f00a2a9a699c6661404ba8671c /libdecnumber/dpd | |
parent | 66d79920b992781cf533d8f96f90199284ec6845 (diff) | |
download | qemu-7a4e543de6637cda4dcc4a060b9225a863f7c721.zip qemu-7a4e543de6637cda4dcc4a060b9225a863f7c721.tar.gz qemu-7a4e543de6637cda4dcc4a060b9225a863f7c721.tar.bz2 |
libdecnumber: Clean up includes
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.
This commit was created with scripts/clean-includes.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'libdecnumber/dpd')
-rw-r--r-- | libdecnumber/dpd/decimal128.c | 3 | ||||
-rw-r--r-- | libdecnumber/dpd/decimal32.c | 3 | ||||
-rw-r--r-- | libdecnumber/dpd/decimal64.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/libdecnumber/dpd/decimal128.c b/libdecnumber/dpd/decimal128.c index 7551b7c..ca4764e 100644 --- a/libdecnumber/dpd/decimal128.c +++ b/libdecnumber/dpd/decimal128.c @@ -39,8 +39,7 @@ /* */ /* Error handling is the same as decNumber (qv.). */ /* ------------------------------------------------------------------ */ -#include <string.h> /* [for memset/memcpy] */ -#include <stdio.h> /* [for printf] */ +#include "qemu/osdep.h" #include "libdecnumber/dconfig.h" #define DECNUMDIGITS 34 /* make decNumbers with space for 34 */ diff --git a/libdecnumber/dpd/decimal32.c b/libdecnumber/dpd/decimal32.c index 095ab75..53f2978 100644 --- a/libdecnumber/dpd/decimal32.c +++ b/libdecnumber/dpd/decimal32.c @@ -39,8 +39,7 @@ /* */ /* Error handling is the same as decNumber (qv.). */ /* ------------------------------------------------------------------ */ -#include <string.h> /* [for memset/memcpy] */ -#include <stdio.h> /* [for printf] */ +#include "qemu/osdep.h" #include "libdecnumber/dconfig.h" #define DECNUMDIGITS 7 /* make decNumbers with space for 7 */ diff --git a/libdecnumber/dpd/decimal64.c b/libdecnumber/dpd/decimal64.c index 8256084..4816176 100644 --- a/libdecnumber/dpd/decimal64.c +++ b/libdecnumber/dpd/decimal64.c @@ -39,8 +39,7 @@ /* */ /* Error handling is the same as decNumber (qv.). */ /* ------------------------------------------------------------------ */ -#include <string.h> /* [for memset/memcpy] */ -#include <stdio.h> /* [for printf] */ +#include "qemu/osdep.h" #include "libdecnumber/dconfig.h" #define DECNUMDIGITS 16 /* make decNumbers with space for 16 */ |