diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-01 11:56:04 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-01 11:56:04 +0000 |
| commit | 847dc1fe8878484d2be37ec71e0bf9136b71592a (patch) | |
| tree | bb05fa012232a97f82bd3e19e231fbbdf2ee9389 /sys | |
| parent | a1cda79464588cd8489700574b2e8608c1914f95 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/sys/conf.h | 6 | ||||
| -rw-r--r-- | sys/sys/linedisc.h | 6 | ||||
| -rw-r--r-- | sys/sys/tty.h | 4 |
3 files changed, 12 insertions, 4 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h index e794091711096..1278fadb55f6a 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -352,6 +352,12 @@ int set_dumper(struct dumperinfo *); void dumpsys(struct dumperinfo *); extern int dumping; /* system is dumping */ +/* D_TTY related functions */ +d_kqfilter_t ttykqfilter; +d_poll_t ttypoll; +d_read_t ttyread; +d_write_t ttywrite; + #endif /* _KERNEL */ #endif /* !_SYS_CONF_H_ */ diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h index e794091711096..1278fadb55f6a 100644 --- a/sys/sys/linedisc.h +++ b/sys/sys/linedisc.h @@ -352,6 +352,12 @@ int set_dumper(struct dumperinfo *); void dumpsys(struct dumperinfo *); extern int dumping; /* system is dumping */ +/* D_TTY related functions */ +d_kqfilter_t ttykqfilter; +d_poll_t ttypoll; +d_read_t ttyread; +d_write_t ttywrite; + #endif /* _KERNEL */ #endif /* !_SYS_CONF_H_ */ diff --git a/sys/sys/tty.h b/sys/sys/tty.h index 17926c960c3ca..f5330b9768b80 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -302,17 +302,13 @@ void ttyflush(struct tty *tp, int rw); void ttyfree(struct tty *tp); void ttyinfo(struct tty *tp); int ttyinput(int c, struct tty *tp); -int ttykqfilter(dev_t dev, struct knote *kn); int ttylclose(struct tty *tp, int flag); struct tty *ttymalloc(struct tty *tp); int ttymodem(struct tty *tp, int flag); int ttyopen(dev_t device, struct tty *tp); -int ttypoll(dev_t dev, int events, struct thread *td); -int ttyread(dev_t dev, struct uio *uio, int flag); void ttyregister(struct tty *tp); int ttysleep(struct tty *tp, void *chan, int pri, char *wmesg, int timo); int ttywait(struct tty *tp); -int ttywrite(dev_t dev, struct uio *uio, int flag); int unputc(struct clist *q); #endif /* _KERNEL */ |
