diff options
author | Roland McGrath <roland@gnu.org> | 1996-01-24 01:34:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-01-24 01:34:10 +0000 |
commit | fd86137937b2be15f18c6564f39aa51fd0c48b00 (patch) | |
tree | dc7bfce2017d697a0d04ddd170f27840151fdf64 /misc/getttyent.c | |
parent | 1d8dc4293f772369e2da018ba5f1bf6e67967f3a (diff) | |
download | glibc-fd86137937b2be15f18c6564f39aa51fd0c48b00.tar.gz |
(dl_main): Support additional args in --list mode for debugging: look them up as symbol names and print values.
Diffstat (limited to 'misc/getttyent.c')
-rw-r--r-- | misc/getttyent.c | 3 |
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); |