diff options
author | tege <tege@gmplib.org> | 2001-01-02 09:23:11 +0100 |
---|---|---|
committer | tege <tege@gmplib.org> | 2001-01-02 09:23:11 +0100 |
commit | c8ed2f542a370da62a92d2e9b70b57ecfc7fdb6b (patch) | |
tree | c3012d0a2e109fc6172403c8fbc3b1923f6dc7d9 /memory.c | |
parent | d82b3e71f45de318ce3d2172a772ed812900170d (diff) | |
download | gmp-c8ed2f542a370da62a92d2e9b70b57ecfc7fdb6b.tar.gz |
Remove K&R function headers.
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -1,6 +1,6 @@ /* Memory allocation routines. -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. @@ -40,12 +40,7 @@ void (*__gmp_free_func) _PROTO ((void *, size_t)) = __gmp_default_free; an error message is written to stderr and the program aborts. */ void * -#if __STDC__ __gmp_default_allocate (size_t size) -#else -__gmp_default_allocate (size) - size_t size; -#endif { void *ret; #ifdef DEBUG @@ -73,14 +68,7 @@ __gmp_default_allocate (size) } void * -#if __STDC__ __gmp_default_reallocate (void *oldptr, size_t old_size, size_t new_size) -#else -__gmp_default_reallocate (oldptr, old_size, new_size) - void *oldptr; - size_t old_size; - size_t new_size; -#endif { void *ret; @@ -128,13 +116,7 @@ __gmp_default_reallocate (oldptr, old_size, new_size) } void -#if __STDC__ __gmp_default_free (void *blk_ptr, size_t blk_size) -#else -__gmp_default_free (blk_ptr, blk_size) - void *blk_ptr; - size_t blk_size; -#endif { #ifdef DEBUG { |