summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-03-27 03:52:04 +0000
committerbde <bde@FreeBSD.org>2002-03-27 03:52:04 +0000
commitd936820ebc2cb0dc38055da315a9de0785c396b9 (patch)
treead0dac2bc2ea4e045ff94610e3b08e8cdfc8e015 /sys
parentc2a1e52896ba68f6abe47d2a367988c90cc47342 (diff)
downloadFreeBSD-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.h3
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);
OpenPOWER on IntegriCloud