Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.bin/lex Pull up revision 1.11 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/8c3c4bc6a9c5
branches:  netbsd-1-4
changeset: 471069:8c3c4bc6a9c5
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 16:31:41 2000 +0000

description:
Pull up revision 1.11 (requested by he):
  Format string cleanup.

diffstat:

 usr.bin/lex/misc.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r a8f182ce72f2 -r 8c3c4bc6a9c5 usr.bin/lex/misc.c
--- a/usr.bin/lex/misc.c        Thu Oct 19 16:31:38 2000 +0000
+++ b/usr.bin/lex/misc.c        Thu Oct 19 16:31:41 2000 +0000
@@ -26,7 +26,7 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-/* $NetBSD: misc.c,v 1.9 1998/01/05 05:15:55 perry Exp $ */
+/* $NetBSD: misc.c,v 1.9.2.1 2000/10/19 16:31:41 he Exp $ */
 
 #include "flexdef.h"
 
@@ -387,7 +387,7 @@
        {
        char directive[MAXLINE], filename[MAXLINE];
        char *s1, *s2, *s3;
-       static char line_fmt[] = "#line %d \"%s\"\n";
+       static const char line_fmt[] = "#line %d \"%s\"\n";
 
        if ( ! gen_line_dirs )
                return;



Home | Main Index | Thread Index | Old Index