mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
66d79920b9
commit
7a4e543de6
|
@ -35,8 +35,7 @@
|
||||||
/* context structures. */
|
/* context structures. */
|
||||||
/* ------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------ */
|
||||||
|
|
||||||
#include <string.h> /* for strcmp */
|
#include "qemu/osdep.h"
|
||||||
#include <stdio.h> /* for printf if DECCHECK */
|
|
||||||
#include "libdecnumber/dconfig.h"
|
#include "libdecnumber/dconfig.h"
|
||||||
#include "libdecnumber/decContext.h"
|
#include "libdecnumber/decContext.h"
|
||||||
#include "libdecnumber/decNumberLocal.h"
|
#include "libdecnumber/decNumberLocal.h"
|
||||||
|
|
|
@ -166,10 +166,7 @@
|
||||||
/* ** -- raise to the power */
|
/* ** -- raise to the power */
|
||||||
/* ------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------ */
|
||||||
|
|
||||||
#include <stdlib.h> /* for malloc, free, etc. */
|
#include "qemu/osdep.h"
|
||||||
#include <stdio.h> /* for printf [if needed] */
|
|
||||||
#include <string.h> /* for strcpy */
|
|
||||||
#include <ctype.h> /* for lower */
|
|
||||||
#include "libdecnumber/dconfig.h"
|
#include "libdecnumber/dconfig.h"
|
||||||
#include "libdecnumber/decNumber.h"
|
#include "libdecnumber/decNumber.h"
|
||||||
#include "libdecnumber/decNumberLocal.h"
|
#include "libdecnumber/decNumberLocal.h"
|
||||||
|
|
|
@ -39,8 +39,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* Error handling is the same as decNumber (qv.). */
|
/* Error handling is the same as decNumber (qv.). */
|
||||||
/* ------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------ */
|
||||||
#include <string.h> /* [for memset/memcpy] */
|
#include "qemu/osdep.h"
|
||||||
#include <stdio.h> /* [for printf] */
|
|
||||||
|
|
||||||
#include "libdecnumber/dconfig.h"
|
#include "libdecnumber/dconfig.h"
|
||||||
#define DECNUMDIGITS 34 /* make decNumbers with space for 34 */
|
#define DECNUMDIGITS 34 /* make decNumbers with space for 34 */
|
||||||
|
|
|
@ -39,8 +39,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* Error handling is the same as decNumber (qv.). */
|
/* Error handling is the same as decNumber (qv.). */
|
||||||
/* ------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------ */
|
||||||
#include <string.h> /* [for memset/memcpy] */
|
#include "qemu/osdep.h"
|
||||||
#include <stdio.h> /* [for printf] */
|
|
||||||
|
|
||||||
#include "libdecnumber/dconfig.h"
|
#include "libdecnumber/dconfig.h"
|
||||||
#define DECNUMDIGITS 7 /* make decNumbers with space for 7 */
|
#define DECNUMDIGITS 7 /* make decNumbers with space for 7 */
|
||||||
|
|
|
@ -39,8 +39,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* Error handling is the same as decNumber (qv.). */
|
/* Error handling is the same as decNumber (qv.). */
|
||||||
/* ------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------ */
|
||||||
#include <string.h> /* [for memset/memcpy] */
|
#include "qemu/osdep.h"
|
||||||
#include <stdio.h> /* [for printf] */
|
|
||||||
|
|
||||||
#include "libdecnumber/dconfig.h"
|
#include "libdecnumber/dconfig.h"
|
||||||
#define DECNUMDIGITS 16 /* make decNumbers with space for 16 */
|
#define DECNUMDIGITS 16 /* make decNumbers with space for 16 */
|
||||||
|
|
Loading…
Reference in New Issue