summaryrefslogtreecommitdiff
path: root/mp_set_fns.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-11-10 16:28:01 +0100
committerTorbjorn Granlund <tege@gmplib.org>2010-11-10 16:28:01 +0100
commit8bd3c97538d43ab04b6ec662dfccb815561f234a (patch)
tree8e52373e3c8be0e51c9991968f3c9164dd4dfcee /mp_set_fns.c
parentb90bca4c9e1221ced136be6ddb09811ff75e660a (diff)
downloadgmp-8bd3c97538d43ab04b6ec662dfccb815561f234a.tar.gz
Make it possible to compile GMP with g++.
Diffstat (limited to 'mp_set_fns.c')
-rw-r--r--mp_set_fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp_set_fns.c b/mp_set_fns.c
index f5402c6fd..3d2aaf3ec 100644
--- a/mp_set_fns.c
+++ b/mp_set_fns.c
@@ -24,7 +24,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
void
mp_set_memory_functions (void *(*alloc_func) (size_t),
void *(*realloc_func) (void *, size_t, size_t),
- void (*free_func) (void *, size_t))
+ void (*free_func) (void *, size_t)) __GMP_NOTHROW
{
if (alloc_func == 0)
alloc_func = __gmp_default_allocate;