(login_tty): Include unistd.h. Declare return type.
authorroland <roland>
Mon, 27 Mar 1995 10:00:04 +0000 (10:00 +0000)
committerroland <roland>
Mon, 27 Mar 1995 10:00:04 +0000 (10:00 +0000)
misc/login_tty.c

index 5692637..6ea2b9b 100644 (file)
@@ -37,7 +37,9 @@ static char sccsid[] = "@(#)login_tty.c       8.1 (Berkeley) 6/4/93";
 
 #include <sys/param.h>
 #include <sys/ioctl.h>
+#include <unistd.h>
 
+int
 login_tty(fd)
        int fd;
 {