X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Funexalpha.c;h=9602c1077a02b0b62ccefdfecf5bf59f533689b3;hb=c84f68d33788b5eb36adb7ae86027263fb06b179;hp=3a1a12fa32e90d4bf6e075b9f051e30227f679ef;hpb=669565bfdc5d704dfb1d5ac1a0ec01fb3615a1ae;p=chise%2Fxemacs-chise.git- diff --git a/src/unexalpha.c b/src/unexalpha.c index 3a1a12f..9602c10 100644 --- a/src/unexalpha.c +++ b/src/unexalpha.c @@ -31,6 +31,7 @@ Boston, MA 02111-1307, USA. */ #include #include #include +#include #include #include #include @@ -54,9 +55,6 @@ static void mark_x (char *); if (lseek (_fd, _position, L_SET) != _position) \ fatal_unexec (_error_message, _error_arg); -extern int errno; -extern char *strerror (); - void *sbrk(); #define EEOF -1 @@ -210,7 +208,7 @@ unexec (char *new_name, char *a_name, nhdr.aout.bsize = 0; if (entry_address == 0) { - extern DEFAULT_ENTRY_ADDRESS (); + extern int DEFAULT_ENTRY_ADDRESS (void); nhdr.aout.entry = (unsigned long)DEFAULT_ENTRY_ADDRESS; } else