comparison src/unexcw.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 29c45c1b64f3
children ab71ad6ff3dd
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
95 } \ 95 } \
96 } while (0) 96 } while (0)
97 97
98 /* Dump out .data and .bss sections into a new executable. */ 98 /* Dump out .data and .bss sections into a new executable. */
99 int 99 int
100 unexec (char *out_name, char *in_name, uintptr_t start_data, 100 unexec (char *out_name, char *in_name, uintptr_t UNUSED (start_data),
101 uintptr_t d1, uintptr_t d2) 101 uintptr_t UNUSED (d1), uintptr_t UNUSED (d2))
102 { 102 {
103 /* ugly nt hack - should be in lisp */ 103 /* ugly nt hack - should be in lisp */
104 int a_new, a_out = -1; 104 int a_new, a_out = -1;
105 char new_name[PATH_MAX], a_name[PATH_MAX]; 105 char new_name[PATH_MAX], a_name[PATH_MAX];
106 char *ptr; 106 char *ptr;