summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getttyent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getttyent.c')
-rw-r--r--lib/libc/gen/getttyent.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/getttyent.c b/lib/libc/gen/getttyent.c
index 014bdfbaf74..1ec45a1e52f 100644
--- a/lib/libc/gen/getttyent.c
+++ b/lib/libc/gen/getttyent.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: getttyent.c,v 1.2 1996/08/19 08:24:10 tholo Exp $";
+static char rcsid[] = "$OpenBSD: getttyent.c,v 1.3 1996/09/15 09:31:03 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <ttyent.h>
@@ -43,6 +43,9 @@ static char rcsid[] = "$OpenBSD: getttyent.c,v 1.2 1996/08/19 08:24:10 tholo Exp
static char zapchar;
static FILE *tf;
+static char *skip __P((char *));
+static char *value __P((char *));
+
struct ttyent *
getttynam(tty)
const char *tty;
@@ -65,7 +68,6 @@ getttyent()
register char *p;
#define MAXLINELENGTH 200
static char line[MAXLINELENGTH];
- static char *skip(), *value();
if (!tf && !setttyent())
return (NULL);