From 88e781764aedd079edf8e99e6bb0191430be7fea Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 24 Feb 1996 22:01:42 +0000 Subject: (ptyio_init): This can't be a constructor because it frobs INPUTQ, which is assigned in main. --- term/ptyio.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'term') 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); -- cgit v1.2.3