aboutsummaryrefslogtreecommitdiff
path: root/src/gram.y
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-05-16 20:16:27 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2016-05-16 20:16:27 +0000
commitd229eb6b67b5c6c94453a7892280742809f5ad46 (patch)
tree603876dd37d329c801bf4d1aabc96c733a18b05f /src/gram.y
parent230db2d8db54f9bd7f28169f4ce6b763304f2647 (diff)
downloadgdbm-d229eb6b67b5c6c94453a7892280742809f5ad46.tar.gz
gdbm-d229eb6b67b5c6c94453a7892280742809f5ad46.tar.bz2
Minor improvements
* src/gdbmtool.c (_gdbm_print_bucket_cache): Use %zu to print size_t. * src/gdbmtool.h (variable_unset): New proto. (yyerror): Argument is char const *. src/gram.y: Likewise. * src/lex.l: Add option noinput * src/parseopt.c (print_option_descr): Use fwrite instead of printf. * src/var.c: Fix initializers to suppress warnings.
Diffstat (limited to 'src/gram.y')
-rw-r--r--src/gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gram.y b/src/gram.y
index f654edb..908628a 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -361,7 +361,7 @@ terror (const char *fmt, ...)
}
int
-yyerror (char *s)
+yyerror (char const *s)
{
terror ("%s", s);
return 0;

Return to:

Send suggestions and report system problems to the System administrator.