summaryrefslogtreecommitdiff
path: root/memory.c
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2012-03-03 15:40:45 +0100
committerTorbjorn Granlund <tege@gmplib.org>2012-03-03 15:40:45 +0100
commitb2629475d8f5f11c3c588046384f2e9c1f34e0a9 (patch)
treef1d4cc926369aba8115e8b82444c59e49df958bb /memory.c
parenta709379e498a3aa2184a4e7eea00ac49866fbd85 (diff)
downloadgmp-b2629475d8f5f11c3c588046384f2e9c1f34e0a9.tar.gz
Clean out __GMP_PROTO.
Diffstat (limited to 'memory.c')
-rw-r--r--memory.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/memory.c b/memory.c
index 42a9834da..64e86ef95 100644
--- a/memory.c
+++ b/memory.c
@@ -24,10 +24,9 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include "gmp-impl.h"
-void * (*__gmp_allocate_func) __GMP_PROTO ((size_t)) = __gmp_default_allocate;
-void * (*__gmp_reallocate_func) __GMP_PROTO ((void *, size_t, size_t))
- = __gmp_default_reallocate;
-void (*__gmp_free_func) __GMP_PROTO ((void *, size_t)) = __gmp_default_free;
+void * (*__gmp_allocate_func) (size_t) = __gmp_default_allocate;
+void * (*__gmp_reallocate_func) (void *, size_t, size_t) = __gmp_default_reallocate;
+void (*__gmp_free_func) (void *, size_t) = __gmp_default_free;
/* Default allocation functions. In case of failure to allocate/reallocate