summaryrefslogtreecommitdiff
path: root/src/unexec.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-06-16 21:42:25 +0000
committerJim Blandy <jimb@redhat.com>1993-06-16 21:42:25 +0000
commit04cd353f4b23c19e3ede11392289ae3ffccce037 (patch)
tree5c8b4aa6c6ef26f4a8b5b235b5317c735f788f97 /src/unexec.c
parent20a6503b2abba27acddbc0bc710dd4a68659c651 (diff)
downloademacs-04cd353f4b23c19e3ede11392289ae3ffccce037.tar.gz
* unexec.c [HPUX] (sbrk): This returns a void *.
Diffstat (limited to 'src/unexec.c')
-rw-r--r--src/unexec.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/unexec.c b/src/unexec.c
index c07bc1a4be2..d14103f1dd5 100644
--- a/src/unexec.c
+++ b/src/unexec.c
@@ -207,11 +207,15 @@ static long data_scnptr;
#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))