Mercurial > hg > xemacs-beta
comparison src/unexmips.c @ 2286:04bc9d2f42c7
[xemacs-hg @ 2004-09-20 19:18:55 by james]
Mark all unused parameters as unused. Also eliminate some unneeded local
variables.
author | james |
---|---|
date | Mon, 20 Sep 2004 19:20:08 +0000 |
parents | 74fd4e045ea6 |
children | facf3239ba30 |
comparison
equal
deleted
inserted
replaced
2285:914c5afaac33 | 2286:04bc9d2f42c7 |
---|---|
26 #include <sys/file.h> | 26 #include <sys/file.h> |
27 #include <sys/stat.h> | 27 #include <sys/stat.h> |
28 #include <stdio.h> | 28 #include <stdio.h> |
29 #include <errno.h> | 29 #include <errno.h> |
30 #include <varargs.h> | 30 #include <varargs.h> |
31 #include "compiler.h" | |
31 | 32 |
32 #ifdef MACH | 33 #ifdef MACH |
33 | 34 |
34 #include <a.out.h> | 35 #include <a.out.h> |
35 | 36 |
122 #define DEFAULT_ENTRY_ADDRESS __start | 123 #define DEFAULT_ENTRY_ADDRESS __start |
123 #endif | 124 #endif |
124 | 125 |
125 unexec (new_name, a_name, data_start, bss_start, entry_address) | 126 unexec (new_name, a_name, data_start, bss_start, entry_address) |
126 char *new_name, *a_name; | 127 char *new_name, *a_name; |
127 unsigned data_start, bss_start, entry_address; | 128 unsigned data_start; |
129 unsigned UNUSED (bss_start); | |
130 unsigned entry_address; | |
128 { | 131 { |
129 int new, old; | 132 int new, old; |
130 int pagesize, brk; | 133 int pagesize, brk; |
131 int newsyms, symrel; | 134 int newsyms, symrel; |
132 int nread; | 135 int nread; |