diff src/unexhp9k3.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 13e47461d509
children
line wrap: on
line diff
--- a/src/unexhp9k3.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/unexhp9k3.c	Mon Sep 20 19:20:08 2004 +0000
@@ -51,6 +51,7 @@
 #include <sys/dir.h>
 
 #include "sysdep.h"
+#include "compiler.h"
 
 /* XEmacs: Richard Cognot <cognot@ensg.u-nancy.fr> says we need these */
 extern void perror(const char*);
@@ -274,8 +275,8 @@
 static void *dynamic_addr = (void *) &_DYNAMIC;
 
 int
-unexec (char *new_name, char *old_name,
-        unsigned int emacs_edata, unsigned int dummy1, unsigned int dummy2)
+unexec (char *new_name, char *old_name, unsigned int emacs_edata,
+	unsigned int UNUSED (dummy1), unsigned int UNUSED (dummy2))
 {
   /* /dld.sl data */
   struct dynamic *ld = 0;
@@ -506,7 +507,7 @@
 
 
 int
-run_time_remap (char *dummy)
+run_time_remap (char *UNUSED (dummy))
 {
     unsigned long current_sbrk = (unsigned long) sbrk (0);