Incorporated from BSD 4.4-Lite.
authorroland <roland>
Sun, 31 Jul 1994 19:13:26 +0000 (19:13 +0000)
committerroland <roland>
Sun, 31 Jul 1994 19:13:26 +0000 (19:13 +0000)
misc/getttyent.c

index b572fb7..f9b1e0d 100644 (file)
@@ -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
  *
  * 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)
  */
 
 #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 <ttyent.h>
 #endif /* LIBC_SCCS and not lint */
 
 #include <ttyent.h>
@@ -108,10 +108,6 @@ getttyent()
                        tty.ty_status |= TTY_ON;
                else if (scmp(_TTYS_SECURE))
                        tty.ty_status |= TTY_SECURE;
                        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
                else if (vcmp(_TTYS_WINDOW))
                        tty.ty_window = value(p);
                else