This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-971031 on openVMS/Alpha


openVMS/Alpha has a different prototype for sbrk() than DEC Unix.

Mon Nov  3  10:31:00 1997  Klaus Kaempf  (kkaempf@progis.de)

	* toplev.c (sbrk): Fix prototype for VMS.

===================================================================
RCS file: RCS/toplev.c,v
retrieving revision 1.1
diff -c -r1.1 toplev.c
*** toplev.c	1997/11/03 09:26:29	1.1
--- toplev.c	1997/11/03 09:57:11
***************
*** 182,188 ****
--- 182,192 ----
  #define MAX_LINE 75
  
  #ifdef __alpha
+ #ifdef VMS
+ extern void *sbrk ();
+ #else
  extern char *sbrk ();
+ #endif
  #endif
  
  /* Name of program invoked, sans directories.  */

-- 
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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]