--- src/sys/sys/tty.h 2006/06/10 20:00:17 1.9 +++ src/sys/sys/tty.h 2006/07/28 02:17:41 1.10 @@ -49,6 +49,9 @@ #ifndef _SYS_SELINFO_H_ #include #endif +#ifdef _KERNEL +#include +#endif /* * Clists are character lists, which is a variable length linked list @@ -277,14 +280,14 @@ 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 ttykqfilter (dev_t dev, struct knote *kn); -int ttyread (dev_t dev, struct uio *uio, int flag); +int ttypoll (struct dev_poll_args *); +int ttykqfilter (struct dev_kqfilter_args *); +int ttyread (struct dev_read_args *); void ttyregister (struct tty *tp); int ttysleep (struct tty *tp, void *chan, int slpflags, char *wmesg, int timeout); int ttywait (struct tty *tp); -int ttywrite (dev_t dev, struct uio *uio, int flag); +int ttywrite (struct dev_write_args *); int unputc (struct clist *q); #endif /* _KERNEL */