X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmalloc.c;h=a43d169271b733412ba2f8326fd7f7643de93869;hb=f8893f198d71f38bd66d23ff6ea712eb79376313;hp=b5e93bde82811551f584edb97bea17603fd58afb;hpb=d349992d82f97d614404565ff66e3f8a47b4a568;p=gnulib.git diff --git a/lib/malloc.c b/lib/malloc.c index b5e93bde8..a43d16927 100644 --- a/lib/malloc.c +++ b/lib/malloc.c @@ -1,5 +1,5 @@ /* Work around bug on some systems where malloc (0) fails. - Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,14 +22,12 @@ #endif #undef malloc -#include - -char *malloc (); +#include /* Allocate an N-byte block of memory from the heap. If N is zero, allocate a 1-byte block. */ -char * +void * rpl_malloc (size_t n) { if (n == 0)