X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmalloc.c;h=a43d169271b733412ba2f8326fd7f7643de93869;hb=f8893f198d71f38bd66d23ff6ea712eb79376313;hp=5e7674bd47d541f17348164f049d3122f17f1ea9;hpb=89f2b4892655a929a506eff123c9126a88e2c8eb;p=gnulib.git diff --git a/lib/malloc.c b/lib/malloc.c index 5e7674bd4..a43d16927 100644 --- a/lib/malloc.c +++ b/lib/malloc.c @@ -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)