changeset 3770:07ba80692381

* unexec.c [HPUX] (sbrk): This returns a void *.
author Jim Blandy <jimb@redhat.com>
date Wed, 16 Jun 1993 21:42:25 +0000
parents 36f561d76b12
children 78c629b32fd9
files src/unexec.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/unexec.c	Wed Jun 16 21:40:36 1993 +0000
+++ b/src/unexec.c	Wed Jun 16 21:42:25 1993 +0000
@@ -207,11 +207,15 @@
 
 #else /* not COFF */
 
+#ifdef HPUX
+extern void *sbrk ();
+#else
 #ifdef __STDC__
 extern void *sbrk ();
 #else
 extern char *sbrk ();
-#endif
+#endif /* __STDC__ */
+#endif /* HPUX */
 
 #define SYMS_START ((long) N_SYMOFF (ohdr))