Blame SOURCES/glibc-rh1505492-prototypes-getttynam.patch

25845f
Introduce prototype-style function definition for getttynam.  Upstream,
25845f
this was part of:
25845f
25845f
commit abccad04b4172d552dbdae948c0e567ba266ad76
25845f
Author: Joseph Myers <joseph@codesourcery.com>
25845f
Date:   Wed Jun 17 20:21:19 2015 +0000
25845f
25845f
    Fix ttyslot namespace (bug 18547).
25845f
25845f
diff --git a/misc/getttyent.c b/misc/getttyent.c
25845f
index 864f65f523de2522..018789a801b8b764 100644
25845f
--- a/misc/getttyent.c
25845f
+++ b/misc/getttyent.c
25845f
@@ -44,8 +44,7 @@ static char zapchar;
25845f
 static FILE *tf;
25845f
 
25845f
 struct ttyent *
25845f
-getttynam(tty)
25845f
-	const char *tty;
25845f
+getttynam (const char *tty)
25845f
 {
25845f
 	struct ttyent *t;
25845f