summaryrefslogtreecommitdiff
path: root/mp_set_fns.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2001-01-02 09:23:11 +0100
committertege <tege@gmplib.org>2001-01-02 09:23:11 +0100
commitc8ed2f542a370da62a92d2e9b70b57ecfc7fdb6b (patch)
treec3012d0a2e109fc6172403c8fbc3b1923f6dc7d9 /mp_set_fns.c
parentd82b3e71f45de318ce3d2172a772ed812900170d (diff)
downloadgmp-c8ed2f542a370da62a92d2e9b70b57ecfc7fdb6b.tar.gz
Remove K&R function headers.
Diffstat (limited to 'mp_set_fns.c')
-rw-r--r--mp_set_fns.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/mp_set_fns.c b/mp_set_fns.c
index a6134ab38..0cf31546d 100644
--- a/mp_set_fns.c
+++ b/mp_set_fns.c
@@ -1,7 +1,7 @@
/* mp_set_memory_functions -- Set the allocate, reallocate, and free functions
for use by the mp package.
-Copyright 1991, 1993, 1994, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -24,16 +24,9 @@ MA 02111-1307, USA. */
#include "gmp-impl.h"
void
-#if __STDC__
mp_set_memory_functions (void *(*alloc_func) (size_t),
void *(*realloc_func) (void *, size_t, size_t),
void (*free_func) (void *, size_t))
-#else
-mp_set_memory_functions (alloc_func, realloc_func, free_func)
- void *(*alloc_func) ();
- void *(*realloc_func) ();
- void (*free_func) ();
-#endif
{
if (alloc_func == 0)
alloc_func = __gmp_default_allocate;