summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-07-20 07:02:21 +0000
committerRoland McGrath <roland@gnu.org>1998-07-20 07:02:21 +0000
commit2cdd1678dee07acb1cebc5e111b30046f48666ad (patch)
tree294e3cc1af70736213018b9999f1b49951509111 /term
parent0d162f8e1641ab06529856162ba1ee4d0c2f4741 (diff)
1998-07-20 Roland McGrath <roland@baalperazim.frob.com>
* term.h (clear_queue): Change return type to void.
Diffstat (limited to 'term')
-rw-r--r--term/term.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/term/term.h b/term/term.h
index 10b33ed7..e784d6f4 100644
--- a/term/term.h
+++ b/term/term.h
@@ -1,5 +1,5 @@
-/*
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+/*
+ Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -180,7 +180,7 @@ qavail (struct queue *q)
}
/* Flush all the characters from Q. */
-extern inline int
+extern inline void
clear_queue (struct queue *q)
{
q->susp = 0;
@@ -196,7 +196,7 @@ extern inline quoted_char
dequeue_quote (struct queue *q)
{
int beep = 0;
-
+
assert (qsize (q));
if (q->susp && (qsize (q) < q->lowat))
{
@@ -231,7 +231,7 @@ enqueue_internal (struct queue **qp, quoted_char c)
if (q->ce - q->array == q->arraylen)
q = *qp = reallocate_queue (q);
-
+
*q->ce++ = c;
if (qsize (q) == 1)
@@ -257,7 +257,7 @@ extern inline void
enqueue_quote (struct queue **qp, char c)
{
enqueue_internal (qp, c | QUEUE_QUOTE_MARK);
-}
+}
/* Return the unquoted version of a quoted_char. */
extern inline char
@@ -280,7 +280,7 @@ queue_erase (struct queue *q)
{
short answer;
int beep = 0;
-
+
assert (qsize (q));
answer = *--q->ce;
if (q->susp && (qsize (q) < q->lowat))
@@ -317,9 +317,9 @@ void ptyio_init (void);
/* kludge--these are pty versions of trivfs_S_io_* functions called by
the real functions in users.c to do work for ptys. */
-error_t pty_io_write (struct trivfs_protid *, char *,
+error_t pty_io_write (struct trivfs_protid *, char *,
mach_msg_type_number_t, mach_msg_type_number_t *);
-error_t pty_io_read (struct trivfs_protid *, char **,
+error_t pty_io_read (struct trivfs_protid *, char **,
mach_msg_type_number_t *, mach_msg_type_number_t);
error_t pty_io_readable (int *);
error_t pty_io_select (struct trivfs_protid *, mach_port_t, int *, int *);