From fd86137937b2be15f18c6564f39aa51fd0c48b00 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 24 Jan 1996 01:34:10 +0000 Subject: (dl_main): Support additional args in --list mode for debugging: look them up as symbol names and print values. --- misc/getttyent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'misc/getttyent.c') diff --git a/misc/getttyent.c b/misc/getttyent.c index f9b1e0d..777108f 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); -- cgit v1.1