(skip, value): Declare with prototypes in file scope.
authorroland <roland>
Wed, 24 Jan 1996 01:32:17 +0000 (01:32 +0000)
committerroland <roland>
Wed, 24 Jan 1996 01:32:17 +0000 (01:32 +0000)
misc/getttyent.c

index f9b1e0d..777108f 100644 (file)
@@ -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);