Declare tty related counters in a tty related .h file.

This commit is contained in:
Poul-Henning Kamp 2003-02-16 13:23:29 +00:00
parent 3abd4ccf87
commit 7694957ecc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110997
2 changed files with 4 additions and 4 deletions

View File

@ -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_ */

View File

@ -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);