Date: Wed, 31 Oct 2001 01:32:17 +0200 From: Giorgos Keramidas <charon@labs.gr> To: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/include malloc.h Message-ID: <20011031013217.A57487@hades.hell.gr> In-Reply-To: <20011030165156.D31154@straylight.oblivion.bg> References: <20011030164640.C31154@straylight.oblivion.bg> <XFMail.011030080627.jhb@FreeBSD.org> <20011030165156.D31154@straylight.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 30, 2001 at 04:51:56PM +0200, Peter Pentchev wrote: > > The idea behind the piece of code is 'use stdlib.h on BSDI, malloc.h > everywhere else'. Apparently, 'everywhere else' was supposed to mean > 'on Linux' :( I know it is so, because this broke for me when I put > the #error in my -stable's malloc.h :) Actually on a fairly recent Slackware installation, stdlib.h says: #ifndef __malloc_and_calloc_defined #define __malloc_and_calloc_defined extern __ptr_t malloc __P ((size_t __size)); extern __ptr_t calloc __P ((size_t __nmemb, size_t __size)); #endif So, even in linux, there's no excuse to use malloc.h :-) -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011031013217.A57487>