From mboxrd@z Thu Jan 1 00:00:00 1970 From: kkaempf@progis.de (Klaus Kaempf) To: robertl@dgii.com (Robert Lipe) Cc: egcs@cygnus.com Subject: Re: toplev.c Date: Tue, 20 Jan 1998 02:21:00 -0000 Message-id: <9801200915.AA23294@progis.de> References: <19980118152814.29187@dgii.com> X-SW-Source: 1998-01/msg00679.html > > > > In toplev.c I read: > > > > > > #ifdef __alpha > > > extern char *sbrk (); > > > #endif > > > > > > Now, this prototype is needed not only for alpha, but for all 64bit > > > platforms which have sizeof(void *) > sizeof(int). > > SUSv2 says that sbrk is a void*, not a char *. And so does DEC C on openVMS/Alpha. A patch for this was submitted by me last year, I wonder where it went ... > > > Sun Jan 18 15:26:21 1998 Robert Lipe (robertl@dgii.com) > * toplev.c (sbrk): get prototype from when > available. > This doesn't work for DEC C on openVMS/Alpha since digital put the prototype in . So I'd supposed adding #ifdef HAVE_STDLIB_H # include #endif would help a lot on VMS and shouldn't harm other systems. Klaus -- proGIS Software E-Mail: kkaempf@progis.de Dipl.-Inform. Klaus K"ampf Fax: 0241-47067-29 Jakobstr. 117 Voice: 0241-47067-11 D-52064 Aachen WWW: http://www.progis.de