aboutsummaryrefslogtreecommitdiff
path: root/include/libdecnumber
diff options
context:
space:
mode:
authorTom Musta <tommusta@gmail.com>2014-04-21 15:54:47 -0500
committerAlexander Graf <agraf@suse.de>2014-06-16 13:24:28 +0200
commit0f2d3732202818fb85c09d1c204a08c4d79b70bc (patch)
treeb93575bd7f26af873cff88dddeab3c3dc9d8fac3 /include/libdecnumber
parentf5d7f1464692433fc0ff2c3418ef9ad3e14d3a3d (diff)
libdecnumber: Prepare libdecnumber for QEMU include structure
Consistent with other libraries in QEMU, the libdecnumber header files were placed in include/libdecnumber, separate from the C code. This is different from the original libdecnumber source, where they were co-located. Change the libdecnumber source code so that it reflects this split. Specifically, modify directives of the form: #include "xxx.h" to look like: #include "libdecnumber/xxx.h" Signed-off-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/libdecnumber')
-rw-r--r--include/libdecnumber/decNumber.h2
-rw-r--r--include/libdecnumber/decNumberLocal.h2
-rw-r--r--include/libdecnumber/dpd/decimal128.h2
-rw-r--r--include/libdecnumber/dpd/decimal32.h2
-rw-r--r--include/libdecnumber/dpd/decimal64.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/include/libdecnumber/decNumber.h b/include/libdecnumber/decNumber.h
index aa99a5b55c..fb324bd35a 100644
--- a/include/libdecnumber/decNumber.h
+++ b/include/libdecnumber/decNumber.h
@@ -39,7 +39,7 @@
#define DECAUTHOR "Mike Cowlishaw" /* Who to blame */
#if !defined(DECCONTEXT)
- #include "decContext.h"
+ #include "libdecnumber/decContext.h"
#endif
/* Bit settings for decNumber.bits */
diff --git a/include/libdecnumber/decNumberLocal.h b/include/libdecnumber/decNumberLocal.h
index f2a919bb11..f5f508f294 100644
--- a/include/libdecnumber/decNumberLocal.h
+++ b/include/libdecnumber/decNumberLocal.h
@@ -44,7 +44,7 @@
#include <stdlib.h> /* for abs */
#include <string.h> /* for memset, strcpy */
- #include "dconfig.h" /* for WORDS_BIGENDIAN */
+ #include "libdecnumber/dconfig.h"
/* Conditional code flag -- set this to match hardware platform */
/* 1=little-endian, 0=big-endian */
diff --git a/include/libdecnumber/dpd/decimal128.h b/include/libdecnumber/dpd/decimal128.h
index 251b964bad..7d9ee24f85 100644
--- a/include/libdecnumber/dpd/decimal128.h
+++ b/include/libdecnumber/dpd/decimal128.h
@@ -60,7 +60,7 @@
#define DECNUMDIGITS DECIMAL128_Pmax /* size if not already defined*/
#endif
#ifndef DECNUMBER
- #include "decNumber.h" /* context and number library */
+ #include "libdecnumber/decNumber.h"
#endif
/* Decimal 128-bit type, accessible by bytes */
diff --git a/include/libdecnumber/dpd/decimal32.h b/include/libdecnumber/dpd/decimal32.h
index 5f06cd48eb..de313e0024 100644
--- a/include/libdecnumber/dpd/decimal32.h
+++ b/include/libdecnumber/dpd/decimal32.h
@@ -60,7 +60,7 @@
#define DECNUMDIGITS DECIMAL32_Pmax /* size if not already defined*/
#endif
#ifndef DECNUMBER
- #include "decNumber.h" /* context and number library */
+ #include "libdecnumber/decNumber.h"
#endif
/* Decimal 32-bit type, accessible by bytes */
diff --git a/include/libdecnumber/dpd/decimal64.h b/include/libdecnumber/dpd/decimal64.h
index c391e254e4..2f6c049402 100644
--- a/include/libdecnumber/dpd/decimal64.h
+++ b/include/libdecnumber/dpd/decimal64.h
@@ -62,7 +62,7 @@
#define DECNUMDIGITS DECIMAL64_Pmax /* size if not already defined*/
#endif
#ifndef DECNUMBER
- #include "decNumber.h" /* context and number library */
+ #include "libdecnumber/decNumber.h"
#endif
/* Decimal 64-bit type, accessible by bytes */