Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Michael Graff <explorer@netbsd.org>
List: source-changes
Date: 06/07/2000 16:54:18
Module Name: basesrc
Committed By: explorer
Date: Wed Jun 7 23:54:18 UTC 2000
Modified Files:
basesrc/usr.bin/yacc: output.c skeleton.c
Log Message:
Use
const char *yyname[] = {...};
const char *yyrule[] = {...};
rather than
char *yyname[] = {...};
char *yyrule[] = {...};
to prevent warnings about
initialization discards `const' from pointer target type
when the output of yacc is compiled with a picky warning level.
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 basesrc/usr.bin/yacc/output.c
cvs rdiff -r1.17 -r1.18 basesrc/usr.bin/yacc/skeleton.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.