aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/decNumber.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-09 11:02:46 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-16 14:29:27 +0000
commit7a4e543de6637cda4dcc4a060b9225a863f7c721 (patch)
treea3119d7b3357c0f00a2a9a699c6661404ba8671c /libdecnumber/decNumber.c
parent66d79920b992781cf533d8f96f90199284ec6845 (diff)
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/decNumber.c')
-rw-r--r--libdecnumber/decNumber.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libdecnumber/decNumber.c b/libdecnumber/decNumber.c
index ca1412f30b..c9e7807f87 100644
--- a/libdecnumber/decNumber.c
+++ b/libdecnumber/decNumber.c
@@ -166,10 +166,7 @@
/* ** -- raise to the power */
/* ------------------------------------------------------------------ */
-#include <stdlib.h> /* for malloc, free, etc. */
-#include <stdio.h> /* for printf [if needed] */
-#include <string.h> /* for strcpy */
-#include <ctype.h> /* for lower */
+#include "qemu/osdep.h"
#include "libdecnumber/dconfig.h"
#include "libdecnumber/decNumber.h"
#include "libdecnumber/decNumberLocal.h"