diff options
| author | Jim Blandy | 1993-06-16 21:42:25 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-16 21:42:25 +0000 |
| commit | 83cb209c0ddc07ea7fb487befc24d7ecf0c40395 (patch) | |
| tree | dc7a960aec0ec320406253c095533eb7370d2504 /src/unexec.c | |
| parent | 716e9939be108d1b49e3e3e233c20e120b2ccc9c (diff) | |
| download | emacs-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.c | 6 |
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 | ||
| 211 | extern void *sbrk (); | ||
| 212 | #else | ||
| 210 | #ifdef __STDC__ | 213 | #ifdef __STDC__ |
| 211 | extern void *sbrk (); | 214 | extern void *sbrk (); |
| 212 | #else | 215 | #else |
| 213 | extern char *sbrk (); | 216 | extern 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 | ||