diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-01 05:28:42 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-01 05:28:42 +0000 |
commit | 3d5f43a06dd26a3ece3abb10b620b9d090d4a2d8 (patch) | |
tree | f028afdea12fb78bc6a465af6be09bc6bc49c844 /libdecnumber/decContext.h | |
parent | c4c8f6ce1b77ca228e33566f9e990cb775c65f5f (diff) | |
download | gcc-3d5f43a06dd26a3ece3abb10b620b9d090d4a2d8.tar.gz |
* decContext.h: Add extern "C" if compiling with C++.
* decDPD.h: Likewise.
* decNumber.h: Likewise.
* dpd/decimal32.h: Likewise.
* dpd/decimal64.h: Likewise.
* dpd/decimal128.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148030 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libdecnumber/decContext.h')
-rw-r--r-- | libdecnumber/decContext.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libdecnumber/decContext.h b/libdecnumber/decContext.h index d6c75f12471..ae0ca07b859 100644 --- a/libdecnumber/decContext.h +++ b/libdecnumber/decContext.h @@ -245,6 +245,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "decContextSymbols.h" + #ifdef __cplusplus + extern "C" { + #endif + extern decContext * decContextClearStatus(decContext *, uint32_t); extern decContext * decContextDefault(decContext *, int32_t); extern enum rounding decContextGetRounding(decContext *); @@ -262,4 +266,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see extern uint32_t decContextTestStatus(decContext *, uint32_t); extern decContext * decContextZeroStatus(decContext *); + #ifdef __cplusplus + } + #endif + #endif |