mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
shift the four cdevsw functions for ttys to sys/conf.h and prototype
them with the correct typedef.
This commit is contained in:
parent
a1cda79464
commit
847dc1fe88
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129938
@ -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_ */
|
||||
|
@ -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_ */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user