summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-05 20:42:18 +0000
committerRoland McGrath <roland@gnu.org>2002-05-05 20:42:18 +0000
commitb0f1bc7edc19079253ae9d928af6062baeddf7d3 (patch)
tree1b79d32e8fe865dc526c981f81380acb8e692899 /term
parentc15731edc068f0ef9a4cdfde5d6861eb1829871c (diff)
2002-05-03 Roland McGrath <roland@frob.com>
* hurdio.c (hurdio_reader_loop): Add a return stmt. (hurdio_writer_loop): Likewise.
Diffstat (limited to 'term')
-rw-r--r--term/hurdio.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/term/hurdio.c b/term/hurdio.c
index 682b03bc..9ba2d60c 100644
--- a/term/hurdio.c
+++ b/term/hurdio.c
@@ -184,6 +184,8 @@ hurdio_reader_loop (any_t arg)
}
}
#undef BUFFER_SIZE
+
+ return 0;
}
@@ -231,7 +233,7 @@ hurdio_writer_loop (any_t arg)
if (size + npending_output > BUFFER_SIZE)
size = BUFFER_SIZE - npending_output;
-
+
bufp = pending_output + npending_output;
npending_output += size;
/* We need to save these values, as otherwise there are races
@@ -276,6 +278,8 @@ hurdio_writer_loop (any_t arg)
}
}
#undef BUFFER_SIZE
+
+ return 0;
}
@@ -521,7 +525,7 @@ hurdio_mdmctl (int how, int bits)
{
error_t err;
int oldbits, newbits;
-
+
if (tioc_caps & TIOC_CAP_MODS)
{
if ((how == MDMCTL_BIS) || (how == MDMCTL_BIC))
@@ -557,7 +561,7 @@ static int
hurdio_mdmstate ()
{
int oldbits;
-
+
if (tioc_caps & TIOC_CAP_MODG)
{
error_t err = tioctl_tiocmodg (ioport, &oldbits);