X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/fb7ebc6bf1fdb07ac679ba597ff8276eabe12773..9d335a2ca4c7975ec9aae45f9b1a8907eb6c52b9:/usr/src/lib/libc/gen/ttyslot.c diff --git a/usr/src/lib/libc/gen/ttyslot.c b/usr/src/lib/libc/gen/ttyslot.c index e0b511a81e..b754f2c39f 100644 --- a/usr/src/lib/libc/gen/ttyslot.c +++ b/usr/src/lib/libc/gen/ttyslot.c @@ -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 @@ -16,7 +16,7 @@ ttyslot() { register struct ttyent *ty; register char *tp, *p; - register s, tf; + register s; if ((tp = ttyname(0)) == NULL && (tp = ttyname(1)) == NULL &&