Mercurial > hg > xemacs-beta
comparison src/unexencap.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 | 376386a54a3c |
children |
comparison
equal
deleted
inserted
replaced
2285:914c5afaac33 | 2286:04bc9d2f42c7 |
---|---|
13 #include <sys/types.h> | 13 #include <sys/types.h> |
14 #include <sys/fcntl.h> | 14 #include <sys/fcntl.h> |
15 #include <sys/file.h> | 15 #include <sys/file.h> |
16 #include <stdio.h> | 16 #include <stdio.h> |
17 #include "/usr/gnu/lib/gcc/gcc-include/a.out.h" | 17 #include "/usr/gnu/lib/gcc/gcc-include/a.out.h" |
18 #include "compiler.h" | |
18 | 19 |
19 filecpy(to, from, n) | 20 filecpy(to, from, n) |
20 FILE *to, *from; | 21 FILE *to, *from; |
21 int n; | 22 int n; |
22 { | 23 { |
39 * | 40 * |
40 * driving logic. | 41 * driving logic. |
41 * ****************************************************************/ | 42 * ****************************************************************/ |
42 unexec (new_name, a_name, data_start, bss_start, entry_address) | 43 unexec (new_name, a_name, data_start, bss_start, entry_address) |
43 char *new_name, *a_name; | 44 char *new_name, *a_name; |
44 unsigned data_start, bss_start, entry_address; | 45 unsigned UNUSED (data_start); |
46 unsigned UNUSED (bss_start); | |
47 unsigned UNUSED (entry_address); | |
45 { | 48 { |
46 struct coffheader header1; | 49 struct coffheader header1; |
47 struct coffscn *tp, *dp, *bp; | 50 struct coffscn *tp, *dp, *bp; |
48 struct exec header; | 51 struct exec header; |
49 int stsize; | 52 int stsize; |