aboutsummaryrefslogtreecommitdiff
path: root/misc/getttyent.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/getttyent.c')
-rw-r--r--misc/getttyent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/getttyent.c b/misc/getttyent.c
index f9b1e0d854..777108ff70 100644
--- a/misc/getttyent.c
+++ b/misc/getttyent.c
@@ -57,6 +57,8 @@ getttynam(tty)
return (t);
}
+static char *skip __P((char *)), *value __P((char *));
+
struct ttyent *
getttyent()
{
@@ -65,7 +67,6 @@ getttyent()
register char *p;
#define MAXLINELENGTH 100
static char line[MAXLINELENGTH];
- static char *skip(), *value();
if (!tf && !setttyent())
return (NULL);