aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/decNumber.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-06-01 19:40:44 +0000
committerDJ Delorie <dj@redhat.com>2009-06-01 19:40:44 +0000
commit52d6785fd97bd443c21c8de17903ec138fe9fa2f (patch)
treec9062715eb093a15b9806db5f2d33184b09d52e7 /libdecnumber/decNumber.h
parentc141c6961a837a93efb15536de339f466ff2f3b5 (diff)
downloadgdb-52d6785fd97bd443c21c8de17903ec138fe9fa2f.zip
gdb-52d6785fd97bd443c21c8de17903ec138fe9fa2f.tar.gz
gdb-52d6785fd97bd443c21c8de17903ec138fe9fa2f.tar.bz2
merge from gcc
Diffstat (limited to 'libdecnumber/decNumber.h')
-rw-r--r--libdecnumber/decNumber.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdecnumber/decNumber.h b/libdecnumber/decNumber.h
index 73a2fd0..05ccb9f 100644
--- a/libdecnumber/decNumber.h
+++ b/libdecnumber/decNumber.h
@@ -108,6 +108,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "decNumberSymbols.h"
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
/* Conversions */
decNumber * decNumberFromInt32(decNumber *, int32_t);
decNumber * decNumberFromUInt32(decNumber *, uint32_t);
@@ -192,4 +196,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
&& (((dn)->bits&DECSPECIAL)==0))
#define decNumberRadix(dn) (10)
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif