X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Funexhp9k3.c;h=4240ff1fbca97dd2376645ca3f008949673dfe7a;hp=607cd7394291753a8f486d9798470cd0c8a5fe89;hb=414b512c0774e67ba8e160b605447d862d3be166;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910 diff --git a/src/unexhp9k3.c b/src/unexhp9k3.c index 607cd73..4240ff1 100644 --- a/src/unexhp9k3.c +++ b/src/unexhp9k3.c @@ -40,6 +40,7 @@ Modified Jan 93 by Hamish Macdonald for HPUX #include #include #include +#include #include #ifdef __hp9000s300 # include @@ -71,7 +72,7 @@ extern char *strerror (int); /********************** Function Prototypes/Declarations ***********/ -static void unexec_error (CONST char *fmt, int use_errno, ...); +static void unexec_error (const char *fmt, int use_errno, ...); static int unexec_open (char *filename, int flag, int mode); static long unexec_seek (int fd, long position); static void unexec_read (int fd, long position, char *buf, int bytes); @@ -87,7 +88,6 @@ int run_time_remap (char *dummy); /* for reporting error messages from system calls */ extern int sys_nerr; -extern int errno; extern int _DYNAMIC; extern char **environ; @@ -96,9 +96,9 @@ static unsigned long sbrk_of_0_at_unexec; /*******************************************************************/ static void -unexec_error (CONST char *fmt, int use_errno, ...) +unexec_error (const char *fmt, int use_errno, ...) { - CONST char *err_msg = SYS_ERR; + const char *err_msg = SYS_ERR; va_list args; fprintf (stderr, "unexec - ");