|
@@ -213,13 +213,13 @@ int endttyent(void)
|
|
}
|
|
}
|
|
libc_hidden_def(endttyent)
|
|
libc_hidden_def(endttyent)
|
|
|
|
|
|
-struct ttyent * getttynam(const char *tty)
|
|
|
|
|
|
+struct ttyent * getttynam(const char *_tty)
|
|
{
|
|
{
|
|
register struct ttyent *t;
|
|
register struct ttyent *t;
|
|
|
|
|
|
setttyent();
|
|
setttyent();
|
|
while ((t = getttyent()))
|
|
while ((t = getttyent()))
|
|
- if (!strcmp(tty, t->ty_name))
|
|
|
|
|
|
+ if (!strcmp(_tty, t->ty_name))
|
|
break;
|
|
break;
|
|
endttyent();
|
|
endttyent();
|
|
return (t);
|
|
return (t);
|