manual page distributed with 4.1BSD
[unix-history] / usr / src / lib / libc / gen / ttyslot.c
index e0b511a..b754f2c 100644 (file)
@@ -1,4 +1,4 @@
-/* @(#)ttyslot.c       4.3 (Berkeley) %G% */
+/* @(#)ttyslot.c       4.4 (Berkeley) %G% */
 
 /*
  * Return the number of the slot in the utmp file
 
 /*
  * Return the number of the slot in the utmp file
@@ -16,7 +16,7 @@ ttyslot()
 {
        register struct ttyent *ty;
        register char *tp, *p;
 {
        register struct ttyent *ty;
        register char *tp, *p;
-       register s, tf;
+       register s;
 
        if ((tp = ttyname(0)) == NULL &&
            (tp = ttyname(1)) == NULL &&
 
        if ((tp = ttyname(0)) == NULL &&
            (tp = ttyname(1)) == NULL &&