diff src/console.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 71477bc21fe8
children 91a83e231f92
line wrap: on
line diff
--- a/src/console.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/console.c	Mon Sep 20 19:20:08 2004 +0000
@@ -149,7 +149,8 @@
 }
 
 static void
-print_console (Lisp_Object obj, Lisp_Object printcharfun, int escapeflag)
+print_console (Lisp_Object obj, Lisp_Object printcharfun,
+	       int UNUSED (escapeflag))
 {
   struct console *con = XCONSOLE (obj);
 
@@ -974,7 +975,13 @@
    Then in any case stuff anything Emacs has read ahead and not used.  */
 
 void
-stuff_buffered_input (Lisp_Object stuffstring)
+stuff_buffered_input (
+#ifdef BSD
+		      Lisp_Object stuffstring
+#else
+		      Lisp_Object UNUSED (stuffstring)
+#endif
+		      )
 {
 /* stuff_char works only in BSD, versions 4.2 and up.  */
 #if defined (BSD)
@@ -1102,7 +1109,7 @@
  the selected console.
 See also `current-input-mode'.
 */
-     (ignored, flow, meta, quit, console))
+       (UNUSED (ignored), flow, meta, quit, console))
 {
   struct console *con = decode_console (console);
   int meta_key = (!CONSOLE_TTY_P (con) ? 1 :