Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/vis don't allow NULL for extra
details: https://anonhg.NetBSD.org/src/rev/392432fe1b2b
branches: trunk
changeset: 784903:392432fe1b2b
user: christos <christos%NetBSD.org@localhost>
date: Wed Feb 13 22:28:41 2013 +0000
description:
don't allow NULL for extra
diffstat:
usr.bin/vis/vis.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 350d68579b54 -r 392432fe1b2b usr.bin/vis/vis.c
--- a/usr.bin/vis/vis.c Wed Feb 13 22:24:48 2013 +0000
+++ b/usr.bin/vis/vis.c Wed Feb 13 22:28:41 2013 +0000
@@ -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 @@
#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 @@
#ifdef DEBUG
int debug;
#endif
-static char *extra;
+static const char *extra = "";
static void process(FILE *);
Home |
Main Index |
Thread Index |
Old Index