diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-10-03 06:59:56 -0700 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-10-03 06:59:56 -0700 |
commit | dd5ecd6bb5778143554b5f82cd05bab3234bc5e8 (patch) | |
tree | 9238f45cacb7ecca7515d1161ef9ef7a6aa7f03a /src/unexsol.c | |
parent | e1b69165cca0ba5012a54c249589d544247217c3 (diff) | |
download | emacs-dd5ecd6bb5778143554b5f82cd05bab3234bc5e8.tar.gz |
Remove unused arguments for unexec.
The third one is never used, and the last two are always passed as zero.
* src/emacs.c (unexec): Add declaration.
(Fdump_emacs): Only pass the first two arguments to unexec.
Simplify #ifdef.
* src/unexw32.c (unexec):
* src/unexsol.c (unexec):
* src/unexhp9k800.c (unexec):
* src/unexcw.c (unexec): Remove the last 3 arguments, unused.
* src/unexelf.c (unexec): Remove the last 3 arguments, unused.
(find_section): Use const.
* src/unexmacosx.c (unexec): Remove the last 3 arguments, unused.
(unexec_error): Declare it NO_RETURN.
* src/unexcoff.c (make_hdr): Assume bss_start is always zero, remove
it as an argument, remove data_start and entry_address arguments, unused.
(unexec): Remove bss_start, data_start and
entry_address arguments.
* src/unexaix.c (make_hdr): Assume bss_start is always zero, remove
it as an argument, remove data_start and entry_address arguments, unused.
(unexec): Remove bss_start, data_start and
entry_address arguments.
Diffstat (limited to 'src/unexsol.c')
-rw-r--r-- | src/unexsol.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unexsol.c b/src/unexsol.c index da4865d8ca8..1d58ed46d4b 100644 --- a/src/unexsol.c +++ b/src/unexsol.c @@ -10,8 +10,7 @@ #include "coding.h" int -unexec (char *new_name, char *old_name, unsigned int data_start, - unsigned int bss_start, unsigned int entry_address) +unexec (const char *new_name, const char *old_name) { Lisp_Object data; Lisp_Object errstring; |