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.13 (requested by he):



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

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

diffstat:

 usr.bin/lex/main.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 0b2e77549714 -r a8f182ce72f2 usr.bin/lex/main.c
--- a/usr.bin/lex/main.c        Thu Oct 19 16:31:34 2000 +0000
+++ b/usr.bin/lex/main.c        Thu Oct 19 16:31:38 2000 +0000
@@ -32,7 +32,7 @@
  All rights reserved.\n";
 #endif /* not lint */
 
-/* $NetBSD: main.c,v 1.12 1998/02/22 12:08:35 christos Exp $ */
+/* $NetBSD: main.c,v 1.12.2.1 2000/10/19 16:31:38 he Exp $ */
 
 
 #include "flexdef.h"
@@ -109,11 +109,11 @@
 char *program_name = "flex";
 
 #ifndef SHORT_FILE_NAMES
-static char *outfile_template = "lex.%s.%s";
-static char *backing_name = "lex.backup";
+static const char outfile_template[] = "lex.%s.%s";
+static const char backing_name[] = "lex.backup";
 #else
-static char *outfile_template = "lex%s.%s";
-static char *backing_name = "lex.bck";
+static const char outfile_template[] = "lex%s.%s";
+static const char backing_name[] = "lex.bck";
 #endif
 
 #ifdef THINK_C



Home | Main Index | Thread Index | Old Index