=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/lex/misc.c,v retrieving revision 1.12 retrieving revision 1.13 diff -c -r1.12 -r1.13 *** src/usr.bin/lex/misc.c 2006/03/04 16:18:06 1.12 --- src/usr.bin/lex/misc.c 2013/10/27 18:31:24 1.13 *************** *** 1,4 **** ! /* $OpenBSD: misc.c,v 1.12 2006/03/04 16:18:06 miod Exp $ */ /* misc - miscellaneous flex routines */ --- 1,4 ---- ! /* $OpenBSD: misc.c,v 1.13 2013/10/27 18:31:24 guenther Exp $ */ /* misc - miscellaneous flex routines */ *************** *** 33,39 **** * PURPOSE. */ ! /* $Header: /cvsrepo/anoncvs/cvs/src/usr.bin/lex/misc.c,v 1.12 2006/03/04 16:18:06 miod Exp $ */ #include "flexdef.h" --- 33,39 ---- * PURPOSE. */ ! /* $Header: /cvsrepo/anoncvs/cvs/src/usr.bin/lex/misc.c,v 1.13 2013/10/27 18:31:24 guenther Exp $ */ #include "flexdef.h" *************** *** 395,401 **** { char directive[MAXLINE], filename[MAXLINE]; char *s1, *s2, *s3; ! static char line_fmt[] = "#line %d \"%s\"\n"; if ( ! gen_line_dirs ) return; --- 395,401 ---- { char directive[MAXLINE], filename[MAXLINE]; char *s1, *s2, *s3; ! static const char line_fmt[] = "#line %d \"%s\"\n"; if ( ! gen_line_dirs ) return;