diff src/gpmevent.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 e22b0213b713
children 6fa9919a9a0b
line wrap: on
line diff
--- a/src/gpmevent.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/gpmevent.c	Mon Sep 20 19:20:08 2004 +0000
@@ -108,7 +108,7 @@
 Run GPM_GetEvent().
 This function is the process handler for the GPM connection.
 */
-       (process, string))
+       (process, UNUSED (string)))
 {
   Gpm_Event ev;
   int modifiers = 0;
@@ -206,8 +206,8 @@
 
 #ifdef TIOCLINUX
 static Lisp_Object
-tty_get_foreign_selection (Lisp_Object selection_symbol,
-			   Lisp_Object target_type)
+tty_get_foreign_selection (Lisp_Object UNUSED (selection_symbol),
+			   Lisp_Object UNUSED (target_type))
 {
   /* This function can GC */
   struct device *d = decode_device (Qnil);
@@ -300,7 +300,8 @@
 }
 
 static Lisp_Object
-tty_selection_exists_p (Lisp_Object selection, Lisp_Object selection_type)
+tty_selection_exists_p (Lisp_Object UNUSED (selection),
+			Lisp_Object UNUSED (selection_type))
 {
   return (Qt);
 }
@@ -357,7 +358,8 @@
 }
 
 static void
-tty_set_mouse_position (struct window *w, int x, int y)
+tty_set_mouse_position (struct window *UNUSED (w), int UNUSED (x),
+			int UNUSED (y))
 {
   /*
      #### I couldn't find any GPM functions that set the mouse position.