Mercurial > emacs
changeset 30916:d4a0bd8a25a3
Prototype fatal_unexec, mark_x, update_dynamic_symbols. Declare
unexec as void.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 17 Aug 2000 14:07:15 +0000 |
parents | 10dd42348df3 |
children | 469d242e5f72 |
files | src/unexalpha.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/unexalpha.c Thu Aug 17 14:04:16 2000 +0000 +++ b/src/unexalpha.c Thu Aug 17 14:07:15 2000 +0000 @@ -81,8 +81,10 @@ #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 @@ #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 @@ } - +static void update_dynamic_symbols (old, new_name, new, aout) char *old; /* Pointer to old executable */ char *new_name; /* Name of new executable */