summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-16 13:23:29 +0000
committerphk <phk@FreeBSD.org>2003-02-16 13:23:29 +0000
commit1107381e5066ab0bae970c855c84c50d749be3ab (patch)
treebfa78a192a47744357d73c917d81a35c5812d007 /sys
parent811b1cae1ce3d2ee3a700c4302cefce5567570f1 (diff)
downloadFreeBSD-src-1107381e5066ab0bae970c855c84c50d749be3ab.zip
FreeBSD-src-1107381e5066ab0bae970c855c84c50d749be3ab.tar.gz
Declare tty related counters in a tty related .h file.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/dkstat.h4
-rw-r--r--sys/sys/tty.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/dkstat.h b/sys/sys/dkstat.h
index f556ff2..9c714f5 100644
--- a/sys/sys/dkstat.h
+++ b/sys/sys/dkstat.h
@@ -52,10 +52,6 @@
#ifdef _KERNEL
extern long cp_time[CPUSTATES];
-extern long tk_cancc;
-extern long tk_nin;
-extern long tk_nout;
-extern long tk_rawcc;
#endif
#endif /* _SYS_DKSTAT_H_ */
diff --git a/sys/sys/tty.h b/sys/sys/tty.h
index 0d900a6..f1c4231 100644
--- a/sys/sys/tty.h
+++ b/sys/sys/tty.h
@@ -266,6 +266,10 @@ struct speedtab {
MALLOC_DECLARE(M_TTYS);
#endif
extern struct tty *constty; /* Temporary virtual console. */
+extern long tk_cancc;
+extern long tk_nin;
+extern long tk_nout;
+extern long tk_rawcc;
int b_to_q(char *cp, int cc, struct clist *q);
void catq(struct clist *from, struct clist *to);
OpenPOWER on IntegriCloud