Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Declare constty extern.



details:   https://anonhg.NetBSD.org/src/rev/6c327c2b158e
branches:  trunk
changeset: 506946:6c327c2b158e
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Mar 09 13:35:50 2001 +0000

description:
Declare constty extern.

diffstat:

 sys/kern/subr_prf.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3f8ee3d5d8d4 -r 6c327c2b158e sys/kern/subr_prf.c
--- a/sys/kern/subr_prf.c       Fri Mar 09 12:49:05 2001 +0000
+++ b/sys/kern/subr_prf.c       Fri Mar 09 13:35:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_prf.c,v 1.76 2000/08/09 10:22:31 tv Exp $ */
+/*     $NetBSD: subr_prf.c,v 1.77 2001/03/09 13:35:50 tsutsui Exp $    */
 
 /*-
  * Copyright (c) 1986, 1988, 1991, 1993
@@ -142,7 +142,7 @@
  * globals
  */
 
-struct tty *constty;   /* pointer to console "window" tty */
+extern struct tty *constty;    /* pointer to console "window" tty */
 extern int log_open;   /* subr_log: is /dev/klog open? */
 const  char *panicstr; /* arg to first call to panic (used as a flag
                           to indicate that panic has already been called). */



Home | Main Index | Thread Index | Old Index