summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-24 01:34:10 +0000
committerRoland McGrath <roland@gnu.org>1996-01-24 01:34:10 +0000
commitfd86137937b2be15f18c6564f39aa51fd0c48b00 (patch)
treedc7bfce2017d697a0d04ddd170f27840151fdf64 /misc
parent1d8dc4293f772369e2da018ba5f1bf6e67967f3a (diff)
downloadglibc-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')
-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);