From 3fb21e7ab8cd3e2f9528b249e8a7eba92698a4ce Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 17 Aug 2000 14:07:15 +0000 Subject: [PATCH] Prototype fatal_unexec, mark_x, update_dynamic_symbols. Declare unexec as void. --- src/unexalpha.c | 9 ++++++--- 1 file 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 */ -- 2.39.2