Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
2285:914c5afaac33 | 2286:04bc9d2f42c7 |
---|---|
46 | 46 |
47 #include <stdio.h> | 47 #include <stdio.h> |
48 #include <stdlib.h> | 48 #include <stdlib.h> |
49 #include <string.h> | 49 #include <string.h> |
50 #include <ctype.h> | 50 #include <ctype.h> |
51 | |
52 #include "compiler.h" | |
51 | 53 |
52 /* XEmacs addition */ | 54 /* XEmacs addition */ |
53 #define C_IDENTIFIER_CHAR_P(c) \ | 55 #define C_IDENTIFIER_CHAR_P(c) \ |
54 (('A' <= c && c <= 'Z') || \ | 56 (('A' <= c && c <= 'Z') || \ |
55 ('a' <= c && c <= 'z') || \ | 57 ('a' <= c && c <= 'z') || \ |
493 | 495 |
494 /* Write to file OUT the argument names of function FUNC, whose text is in BUF. | 496 /* Write to file OUT the argument names of function FUNC, whose text is in BUF. |
495 MINARGS and MAXARGS are the minimum and maximum number of arguments. */ | 497 MINARGS and MAXARGS are the minimum and maximum number of arguments. */ |
496 | 498 |
497 static void | 499 static void |
498 write_c_args (FILE *out, const char *func, char *buf, int minargs, int maxargs) | 500 write_c_args (FILE *out, const char *UNUSED (func), char *buf, |
501 int minargs, int maxargs) | |
499 { | 502 { |
500 register char *p; | 503 register char *p; |
501 int in_ident = 0; | 504 int in_ident = 0; |
502 int just_spaced = 0; | 505 int just_spaced = 0; |
503 #if 0 | 506 #if 0 |