summaryrefslogtreecommitdiff
path: root/mp_get_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_get_fns.c
parentb90bca4c9e1221ced136be6ddb09811ff75e660a (diff)
downloadgmp-8bd3c97538d43ab04b6ec662dfccb815561f234a.tar.gz
Make it possible to compile GMP with g++.
Diffstat (limited to 'mp_get_fns.c')
-rw-r--r--mp_get_fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp_get_fns.c b/mp_get_fns.c
index c8c9f9997..8d7c69f4f 100644
--- a/mp_get_fns.c
+++ b/mp_get_fns.c
@@ -24,7 +24,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
void
mp_get_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 != NULL)
*alloc_func = __gmp_allocate_func;