X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libdecnumber%2FdecContext.h;h=fed7a0e379c72b5d8e76e80c882b2398d0994cb4;hb=3133f8c11fd2e18b9f5ffd35bb26410dc61a69c5;hp=d6c75f124713e686f33da093089f5a91985f8a56;hpb=168a2f7744f9a9cdcb53b1861a941cc40291102f;p=deliverable%2Fbinutils-gdb.git diff --git a/libdecnumber/decContext.h b/libdecnumber/decContext.h index d6c75f1247..fed7a0e379 100644 --- a/libdecnumber/decContext.h +++ b/libdecnumber/decContext.h @@ -1,5 +1,5 @@ /* Decimal context header module for the decNumber C Library. - Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2005-2013 Free Software Foundation, Inc. Contributed by IBM Corporation. Author Mike Cowlishaw. This file is part of GCC. @@ -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