summaryrefslogtreecommitdiff
path: root/libdecnumber/dpd/decimal64.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2009-06-01 19:40:32 +0000
committerDJ Delorie <dj@delorie.com>2009-06-01 19:40:32 +0000
commit60413c457f4d4b381843d6a89c6be865f2cf990d (patch)
treeec1da9a4f9f8c5747651c5fa62942b9d97ac1f37 /libdecnumber/dpd/decimal64.h
parent954a9ab9b93b7607291994bc8f1edd249abd5cf8 (diff)
downloadgdb-60413c457f4d4b381843d6a89c6be865f2cf990d.tar.gz
merge from gcc
Diffstat (limited to 'libdecnumber/dpd/decimal64.h')
-rw-r--r--libdecnumber/dpd/decimal64.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdecnumber/dpd/decimal64.h b/libdecnumber/dpd/decimal64.h
index a55a9c42906..c501415381e 100644
--- a/libdecnumber/dpd/decimal64.h
+++ b/libdecnumber/dpd/decimal64.h
@@ -79,6 +79,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "decimal64Symbols.h"
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
/* String conversions */
decimal64 * decimal64FromString(decimal64 *, const char *, decContext *);
char * decimal64ToString(const decimal64 *, char *);
@@ -93,4 +97,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
uint32_t decimal64IsCanonical(const decimal64 *);
decimal64 * decimal64Canonical(decimal64 *, const decimal64 *);
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif