diff options
author | Dave Love <fx@gnu.org> | 2000-08-17 14:07:15 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-08-17 14:07:15 +0000 |
commit | 13177fd90dd06b084181400cbc849c42bd9e80a2 (patch) | |
tree | 2d6637c57cc1c6b7b420a4a06b62c343ebb7e1a2 | |
parent | 11008cbc32943428f6664c46057e880741f00f01 (diff) | |
download | emacs-13177fd90dd06b084181400cbc849c42bd9e80a2.tar.gz |
Prototype fatal_unexec, mark_x, update_dynamic_symbols. Declare
unexec as void.
-rw-r--r-- | src/unexalpha.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/unexalpha.c b/src/unexalpha.c index de6c46a8358..9ffeee973b5 100644 --- a/src/unexalpha.c +++ b/src/unexalpha.c @@ -81,8 +81,10 @@ Boston, MA 02111-1307, USA. */ #define _SBSS ".sbss" #endif /* __NetBSD__ || __OpenBSD__ */ -static void fatal_unexec (); -static void mark_x (); +static void fatal_unexec __P ((char *, char *)); +static void mark_x __P ((char *)); + +static void update_dynamic_symbols __P ((char *, char *, int, struct aouthdr)); #define READ(_fd, _buffer, _size, _error_message, _error_arg) \ errno = EEOF; \ @@ -142,6 +144,7 @@ struct headers { #define DEFAULT_ENTRY_ADDRESS __start #endif +void unexec (new_name, a_name, data_start, bss_start, entry_address) char *new_name, *a_name; unsigned long data_start, bss_start, entry_address; @@ -424,7 +427,7 @@ unexec (new_name, a_name, data_start, bss_start, entry_address) } - +static void update_dynamic_symbols (old, new_name, new, aout) char *old; /* Pointer to old executable */ char *new_name; /* Name of new executable */ |