diff 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
line wrap: on
line diff
--- a/src/unexencap.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/unexencap.c	Mon Sep 20 19:20:08 2004 +0000
@@ -15,6 +15,7 @@
 #include <sys/file.h>
 #include <stdio.h>
 #include "/usr/gnu/lib/gcc/gcc-include/a.out.h"
+#include "compiler.h"
 
 filecpy(to, from, n)
 FILE *to, *from;
@@ -41,7 +42,9 @@
  * ****************************************************************/
 unexec (new_name, a_name, data_start, bss_start, entry_address)
 char *new_name, *a_name;
-unsigned data_start, bss_start, entry_address;
+unsigned UNUSED (data_start);
+unsigned UNUSED (bss_start);
+unsigned UNUSED (entry_address);
 {	
 	struct coffheader header1;
 	struct coffscn *tp, *dp, *bp;