Subject: Re: conflict between libsa free and kernel free.
To: Christos Zoulas <christos@zoulas.com>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 01/25/2006 19:57:05
On Wed, Jan 25, 2006 at 11:37:37 -0500, Christos Zoulas wrote:

> There might be legitimate reasons to compile code from libsa and the kernel
> together and these kinds of conflicts make life difficult. Since libsa is
> not using malloc(), it should not be using free(). How about renaming the
> libsa free() to dealloc() to match alloc()?

Oh, please do.  For hpcboot (WinCE bootloader for our hpc* ports) we
compile libsa code under wince, and compiler bitches about
mistmatching free() protoype.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen