Re: stdlib.h i386 and alpha differences! was: Bug#22650: xcircuit: nonmaintainer upload for Alpha patches
Paul Slootman (paul@debian.org) wrote on 20 May 1998 12:28:
>On Wed 20 May 1998, James Troup wrote:
>
>> Paul Slootman <paul@debian.org> writes:
>>
>> > The malloc.h should never hurt, that's been available for as long as
>> > I can remember (well, almost :-)
>>
>> Umm, why _are_ you #including <malloc.h>? Colour me stupid, but I was
>> under the distinct impression one #includes <stdlib.h> for a malloc
>> prototype, and this seems to be born out by both the manpage and the
>> glibc info documentation. Surely something as basic as this doesn't
>> vary on the alpha?
>Apparently it _does_ :-( I also read the manpage for malloc, included
>stdlib.h, and saw that the warnings didn't go away. I then looked into
>/usr/include/stdlib.h and saw that there were no declarations for any
>alloc routines.
UHH???!!! malloc and calloc are defined by ANSI C with their
prototypes in <stdlib.h>. And they are there!
Carlos
--
To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: