* src/getargs.c, src/getarg.h (skeleton)): Constify.

* src/lex.c (literalchar): Avoid name clashes on `buf'.
* src/getargs.c: Include complain.h.
* src/files.c, src/files.h (skeleton_find): Avoid name clashes.
* lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
This commit is contained in:
Akim Demaille
2001-08-03 08:48:49 +00:00
parent d01c415b93
commit b0ce604668
22 changed files with 465 additions and 458 deletions

View File

@@ -31,7 +31,7 @@
/* Buffer for storing the current token. */
struct obstack token_obstack;
char *token_buffer = NULL;
const char *token_buffer = NULL;
bucket *symval;
int numval;
@@ -234,10 +234,10 @@ literalchar (struct obstack *out, int *pcode, char term)
}
else
{
char buf [] = "c";
buf[0] = c;
char badchar [] = "c";
badchar[0] = c;
complain (_("unknown escape sequence: `\\' followed by `%s'"),
quote (buf));
quote (badchar));
code = '?';
}
} /* has \ */