Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/who fix static length variables.



details:   https://anonhg.NetBSD.org/src/rev/a15d66ff6483
branches:  trunk
changeset: 543111:a15d66ff6483
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 17 13:56:28 2003 +0000

description:
fix static length variables.

diffstat:

 usr.bin/who/who.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bbce9e50693a -r a15d66ff6483 usr.bin/who/who.c
--- a/usr.bin/who/who.c Mon Feb 17 12:32:13 2003 +0000
+++ b/usr.bin/who/who.c Mon Feb 17 13:56:28 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: who.c,v 1.10 2002/08/01 23:23:09 christos Exp $        */
+/*     $NetBSD: who.c,v 1.11 2003/02/17 13:56:28 christos Exp $        */
 
 /*
  * Copyright (c) 1989, 1993
@@ -47,7 +47,7 @@
 #if 0
 static char sccsid[] = "@(#)who.c      8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: who.c,v 1.10 2002/08/01 23:23:09 christos Exp $");
+__RCSID("$NetBSD: who.c,v 1.11 2003/02/17 13:56:28 christos Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -73,7 +73,7 @@
 static int show_term;                  /* show term state */
 static int show_idle;                  /* show idle time */
 
-static int maxname = 8, maxline = 8, maxhost = 16;
+extern int maxname, maxline, maxhost;
 
 int
 main(int argc, char **argv)



Home | Main Index | Thread Index | Old Index