mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Fixed -Wshadow warnings by renaming ttysleep()'s `timeout' parameter to
`timo'. This also makes the parameter name in the prototype the same as in the function.
This commit is contained in:
parent
05eb035898
commit
54dc2bc65f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93258
@ -271,8 +271,7 @@ 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 timeout);
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user