Re: [Openocd-development] [patch] Unbreak build for Mac OS X

2009-06-24 Thread Duane Ellis
Oleksandr Tymoshenko wrote: > Attached patch unbreaks build on MacOS X (I guess > on *BSD too): > > - stdlib.h should be included instead of malloc.h for > better portability > - Eliminate "r could be used uninitialized" gcc warning > COMMITED - Thanks. -Duane.

[Openocd-development] [patch] Unbreak build for Mac OS X

2009-06-24 Thread Oleksandr Tymoshenko
Attached patch unbreaks build on MacOS X (I guess on *BSD too): - stdlib.h should be included instead of malloc.h for better portability - Eliminate "r could be used uninitialized" gcc warning -- gonzo Index: src/helper/membuf.c