summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-02-24 22:01:42 +0000
committerMiles Bader <miles@gnu.org>1996-02-24 22:01:42 +0000
commit88e781764aedd079edf8e99e6bb0191430be7fea (patch)
treea5fc0241b3901e289e6cd2942ef10a1f3f84b679
parentae116095ae5ce31b4afa06b64be90d6c9da60d42 (diff)
(ptyio_init): This can't be a constructor because it frobs INPUTQ, which is
assigned in main.
-rw-r--r--term/ptyio.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/term/ptyio.c b/term/ptyio.c
index 096ab9d0..a01aca1a 100644
--- a/term/ptyio.c
+++ b/term/ptyio.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -54,9 +54,7 @@ static int ptyopen = 0;
static int nptyperopens = 0;
-
-static void ptyio_init (void) __attribute__ ((constructor));
-static void
+void
ptyio_init ()
{
condition_implies (inputq->wait, &pty_select_wakeup);