
|
[haiku-development]
||
[Date Prev]
[08-2007 Date Index]
[Date Next]
||
[Thread Prev]
[08-2007 Thread Index]
[Thread Next]
[haiku-development] Re: Help with memory allocation in WebKit JavaScriptCore
- From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Thu, 16 Aug 2007 12:41:54 +0200
On 2007-08-16 at 12:06:20 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
wrote:
> Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> > The memset() is not necessary according to the specification. But
> > instead of
> > adding a special case to your port, rather add a posix_memalign()
> > implementation to Haiku. The prototype goes to malloc.h, the
> > implementation
> > to src/system/libroot/posix/malloc/wrapper.cpp.
>
> Definitely, even though it's stdlib.h, not malloc.h :-)
I guess we best remove them from stdlib.h and include malloc.h there. No
point in having two sets of the same prototypes.
And why is malloc.h including unistd.h?
CU, Ingo
|

|