summaryrefslogtreecommitdiff
path: root/term/term.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-04-24 23:04:33 +0000
committerMiles Bader <miles@gnu.org>1996-04-24 23:04:33 +0000
commit09afd0f282d390204a231b79ff3b26d36a03b126 (patch)
treeb2fd4b7c2b77e74058a904a192a6edeea6c4f292 /term/term.h
parent7abfd11cdba3b5aefda149aa42949a3469ba60f3 (diff)
Include <fcntl.h>.
Diffstat (limited to 'term/term.h')
-rw-r--r--term/term.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/term/term.h b/term/term.h
index fbeabf00..0c469809 100644
--- a/term/term.h
+++ b/term/term.h
@@ -23,6 +23,7 @@
#include <errno.h>
#include <hurd/trivfs.h>
#include <sys/types.h>
+#include <fcntl.h>
#undef MDMBUF
#undef ECHO
@@ -174,7 +175,7 @@ clear_queue (struct queue *q)
}
/* Should be below, but inlines need it. */
-void call_asyncs ();
+void call_asyncs (int dir);
/* Return the next character off Q; leave the quoting bit on. */
extern inline quoted_char
@@ -194,7 +195,7 @@ dequeue_quote (struct queue *q)
{
condition_broadcast (q->wait);
if (q == outputq)
- call_asyncs ();
+ call_asyncs (O_WRITE);
}
return *q->cs++;
}
@@ -223,7 +224,7 @@ enqueue_internal (struct queue **qp, quoted_char c)
{
condition_broadcast (q->wait);
if (q == inputq)
- call_asyncs ();
+ call_asyncs (O_READ);
}
if (!q->susp && (qsize (q) > q->hiwat))