diff src/ExternalShell.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 8de911beca70
children a640f9c13696
line wrap: on
line diff
--- a/src/ExternalShell.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/ExternalShell.c	Mon Sep 20 19:20:08 2004 +0000
@@ -251,8 +251,8 @@
 WidgetClass externalShellWidgetClass = (WidgetClass) &externalShellClassRec;
 
 static void
-ExternalShellInitialize (Widget req, Widget new, ArgList args,
-			 Cardinal *num_args)
+ExternalShellInitialize (Widget req, Widget new, ArgList UNUSED (args),
+			 Cardinal *UNUSED (num_args))
 {
   XtAddEventHandler(new, 0,
 		    TRUE, EventHandler, (XtPointer) NULL);
@@ -276,9 +276,9 @@
 # define XtCXtToolkitError "XtToolkitError"
 #endif
 
-static void EventHandler (Widget wid, XtPointer closure /* unused */,
+static void EventHandler (Widget wid, XtPointer UNUSED (closure),
 			  XEvent *event,
-			  Boolean *continue_to_dispatch /* unused */)
+			  Boolean *UNUSED (continue_to_dispatch))
 {
   ExternalShellWidget w = (ExternalShellWidget) wid;
 
@@ -364,7 +364,7 @@
 /* Lifted almost entirely from GetGeometry() in Shell.c
  */
 static void
-GetGeometry (Widget W, Widget child)
+GetGeometry (Widget W, Widget UNUSED (child))
 {
     ExternalShellWidget w = (ExternalShellWidget)W;
     int x, y, win_gravity = -1, flag;