mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Declare tty related counters in a tty related .h file.
This commit is contained in:
parent
3abd4ccf87
commit
7694957ecc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110997
@ -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_ */
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user