diff src/unexsol2.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 3ecd8885ac67
children
line wrap: on
line diff
--- a/src/unexsol2.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/unexsol2.c	Mon Sep 20 19:20:08 2004 +0000
@@ -20,11 +20,12 @@
 
 /* Synched up with: Not in FSF. */
 
-/* #pragma ident "@(#) $Id: unexsol2.c,v 1.3 1997/10/13 03:35:33 steve Exp $" */
+/* #pragma ident "@(#) $Id: unexsol2.c,v 1.4 2004/09/20 19:20:07 james Exp $" */
 
 #include <stdlib.h>
 #include <stdio.h>
 #include <dlfcn.h>
+#include "compiler.h"
 
 #define DYNODUMP_SO	"../dynodump/dynodump.so"
 #define DYNODUMP_SYM	"dynodump"
@@ -32,8 +33,9 @@
 int unexec (char *new_name, char *old_name, unsigned int data_start,
 	    unsigned int bss_start, unsigned int entry_address);
 int
-unexec(char *new_name, char *old_name, unsigned int data_start,
-       unsigned int bss_start, unsigned int entry_address)
+unexec(char *new_name, char *UNUSED (old_name),
+       unsigned int UNUSED (data_start), unsigned int UNUSED (bss_start),
+       unsigned int UNUSED (entry_address))
 {
   void *handle;
   void (*func)(const char *file);