Module Name:    src
Committed By:   christos
Date:           Wed Feb 13 22:28:41 UTC 2013

Modified Files:
        src/usr.bin/vis: vis.c

Log Message:
don't allow NULL for extra


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/vis/vis.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/vis/vis.c
diff -u src/usr.bin/vis/vis.c:1.18 src/usr.bin/vis/vis.c:1.19
--- src/usr.bin/vis/vis.c:1.18	Wed Feb 13 17:24:48 2013
+++ src/usr.bin/vis/vis.c	Wed Feb 13 17:28:41 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: vis.c,v 1.18 2013/02/13 22:24:48 christos Exp $	*/
+/*	$NetBSD: vis.c,v 1.19 2013/02/13 22:28:41 christos Exp $	*/
 
 /*-
  * Copyright (c) 1989, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19
 #if 0
 static char sccsid[] = "@(#)vis.c	8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: vis.c,v 1.18 2013/02/13 22:24:48 christos Exp $");
+__RCSID("$NetBSD: vis.c,v 1.19 2013/02/13 22:28:41 christos Exp $");
 #endif /* not lint */
 
 #include <stdio.h>
@@ -58,7 +58,7 @@ static int eflags, fold, foldwidth = 80,
 #ifdef DEBUG
 int debug;
 #endif
-static char *extra;
+static const char *extra = "";
 
 static void process(FILE *);
 

Reply via email to