diff src/profile.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 ac1be85b4a5f
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/profile.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/profile.c	Mon Sep 20 19:20:08 2004 +0000
@@ -349,7 +349,7 @@
 }
 
 static SIGTYPE
-sigprof_handler (int signo)
+sigprof_handler (int UNUSED (signo))
 {
 #ifdef WIN32_ANY
   /* Windows unfortunately does not have any such thing as setitimer
@@ -613,7 +613,7 @@
 static int
 set_profiling_info_timing_maphash (Lisp_Object key,
 				   Lisp_Object val,
-				   void *void_closure)
+				   void *UNUSED (void_closure))
 {
   /* This function does not GC */
   if (!INTP (val))
@@ -669,8 +669,8 @@
 
 static int
 mark_profiling_info_maphash (const void *void_key,
-			     void *void_val,
-			     void *void_closure)
+			     void *UNUSED (void_val),
+			     void *UNUSED (void_closure))
 {
 #ifdef USE_KKCC
   kkcc_gc_stack_push_lisp_object (VOID_TO_LISP (void_key));