From: roland Date: Sun, 31 Jul 1994 19:13:26 +0000 (+0000) Subject: Incorporated from BSD 4.4-Lite. X-Git-Tag: jems-14oct94~501 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=9601bb366ec5863afe76ad93223f2aa3c67de73a Incorporated from BSD 4.4-Lite. --- diff --git a/misc/getttyent.c b/misc/getttyent.c index b572fb7b6c..f9b1e0d854 100644 --- a/misc/getttyent.c +++ b/misc/getttyent.c @@ -1,6 +1,6 @@ /* - * Copyright (c) 1989 The Regents of the University of California. - * All rights reserved. + * Copyright (c) 1989, 1993 + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)getttyent.c 5.10 (Berkeley) 3/23/91"; +static char sccsid[] = "@(#)getttyent.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ #include @@ -108,10 +108,6 @@ getttyent() tty.ty_status |= TTY_ON; else if (scmp(_TTYS_SECURE)) tty.ty_status |= TTY_SECURE; - else if (scmp(_TTYS_TRUSTED)) - tty.ty_status |= TTY_TRUSTED; - else if (scmp(_TTYS_CONSOLE)) - tty.ty_status |= TTY_CONSOLE; else if (vcmp(_TTYS_WINDOW)) tty.ty_window = value(p); else