summaryrefslogtreecommitdiffstats
path: root/libdecnumber/dpd/decimal64.c
diff options
context:
space:
mode:
authorPeter Maydell2016-02-09 12:02:46 +0100
committerPeter Maydell2016-02-16 15:29:27 +0100
commit7a4e543de6637cda4dcc4a060b9225a863f7c721 (patch)
treea3119d7b3357c0f00a2a9a699c6661404ba8671c /libdecnumber/dpd/decimal64.c
parentcris: Clean up includes (diff)
downloadqemu-7a4e543de6637cda4dcc4a060b9225a863f7c721.tar.gz
qemu-7a4e543de6637cda4dcc4a060b9225a863f7c721.tar.xz
qemu-7a4e543de6637cda4dcc4a060b9225a863f7c721.zip
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/decimal64.c')
-rw-r--r--libdecnumber/dpd/decimal64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdecnumber/dpd/decimal64.c b/libdecnumber/dpd/decimal64.c
index 8256084e90..4816176410 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 */