diff lib-src/make-docfile.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 1038bc1b8cb9
children ab71ad6ff3dd
line wrap: on
line diff
--- a/lib-src/make-docfile.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/lib-src/make-docfile.c	Mon Sep 20 19:20:08 2004 +0000
@@ -49,6 +49,8 @@
 #include <string.h>
 #include <ctype.h>
 
+#include "compiler.h"
+
 /* XEmacs addition */
 #define C_IDENTIFIER_CHAR_P(c)			\
  (('A' <= c && c <= 'Z') ||			\
@@ -495,7 +497,8 @@
    MINARGS and MAXARGS are the minimum and maximum number of arguments.  */
 
 static void
-write_c_args (FILE *out, const char *func, char *buf, int minargs, int maxargs)
+write_c_args (FILE *out, const char *UNUSED (func), char *buf,
+	      int minargs, int maxargs)
 {
   register char *p;
   int in_ident = 0;