diff options
author | bde <bde@FreeBSD.org> | 2002-03-27 03:52:04 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-03-27 03:52:04 +0000 |
commit | d936820ebc2cb0dc38055da315a9de0785c396b9 (patch) | |
tree | ad0dac2bc2ea4e045ff94610e3b08e8cdfc8e015 /sys | |
parent | c2a1e52896ba68f6abe47d2a367988c90cc47342 (diff) | |
download | FreeBSD-src-d936820ebc2cb0dc38055da315a9de0785c396b9.zip FreeBSD-src-d936820ebc2cb0dc38055da315a9de0785c396b9.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/tty.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/tty.h b/sys/sys/tty.h index 6c3c674..7840538 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -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); |