summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_inq.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-06-26 18:26:20 +0000
committered <ed@FreeBSD.org>2011-06-26 18:26:20 +0000
commit4ef034d1ea803fc7e2746f9360ad74f8e6ac77be (patch)
tree6dadaf4b44c7fc8c9b8f9f4d96f553859ca7411d /sys/kern/tty_inq.c
parent59c238c6bed4c3688cd951c136e0cd48bc67c028 (diff)
downloadFreeBSD-src-4ef034d1ea803fc7e2746f9360ad74f8e6ac77be.zip
FreeBSD-src-4ef034d1ea803fc7e2746f9360ad74f8e6ac77be.tar.gz
Fix whitespace inconsistencies in the TTY layer and its drivers owned by me.
Diffstat (limited to 'sys/kern/tty_inq.c')
-rw-r--r--sys/kern/tty_inq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/tty_inq.c b/sys/kern/tty_inq.c
index b0e9b18..0c39a29 100644
--- a/sys/kern/tty_inq.c
+++ b/sys/kern/tty_inq.c
@@ -142,7 +142,7 @@ void
ttyinq_free(struct ttyinq *ti)
{
struct ttyinq_block *tib;
-
+
ttyinq_flush(ti);
ti->ti_quota = 0;
@@ -276,7 +276,7 @@ ttyinq_write(struct ttyinq *ti, const void *buf, size_t nbytes, int quote)
struct ttyinq_block *tib;
unsigned int boff;
size_t l;
-
+
while (nbytes > 0) {
boff = ti->ti_end % TTYINQ_DATASIZE;
@@ -313,7 +313,7 @@ ttyinq_write(struct ttyinq *ti, const void *buf, size_t nbytes, int quote)
nbytes -= l;
ti->ti_end += l;
}
-
+
return (cbuf - (const char *)buf);
}
@@ -397,7 +397,7 @@ ttyinq_peekchar(struct ttyinq *ti, char *c, int *quote)
*c = tib->tib_data[boff];
*quote = GETBIT(tib, boff);
-
+
return (0);
}
OpenPOWER on IntegriCloud