aboutsummaryrefslogtreecommitdiffstats
path: root/src/unexec.c
diff options
context:
space:
mode:
authorJim Blandy1993-06-16 21:42:25 +0000
committerJim Blandy1993-06-16 21:42:25 +0000
commit83cb209c0ddc07ea7fb487befc24d7ecf0c40395 (patch)
treedc7a960aec0ec320406253c095533eb7370d2504 /src/unexec.c
parent716e9939be108d1b49e3e3e233c20e120b2ccc9c (diff)
downloademacs-83cb209c0ddc07ea7fb487befc24d7ecf0c40395.tar.gz
emacs-83cb209c0ddc07ea7fb487befc24d7ecf0c40395.zip
* 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;
207 207
208#else /* not COFF */ 208#else /* not COFF */
209 209
210#ifdef HPUX
211extern void *sbrk ();
212#else
210#ifdef __STDC__ 213#ifdef __STDC__
211extern void *sbrk (); 214extern void *sbrk ();
212#else 215#else
213extern char *sbrk (); 216extern char *sbrk ();
214#endif 217#endif /* __STDC__ */
218#endif /* HPUX */
215 219
216#define SYMS_START ((long) N_SYMOFF (ohdr)) 220#define SYMS_START ((long) N_SYMOFF (ohdr))
217 221