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

00db10
Introduce prototype-style function definition for ctermid.  Upstream,
00db10
this was part of:
00db10
00db10
commit 7729e0e91afbf8d45bb322d7e2d53f417fab01ed
00db10
Author: Alexandre Oliva <aoliva@redhat.com>
00db10
Date:   Fri Nov 21 02:06:22 2014 -0200
00db10
00db10
    ctermid: return string literal, document MT-Safety pitfall
00db10
00db10
diff --git a/sysdeps/posix/ctermid.c b/sysdeps/posix/ctermid.c
00db10
index 8a0ebac8afaf23ff..94c0a6d25a5b430e 100644
00db10
--- a/sysdeps/posix/ctermid.c
00db10
+++ b/sysdeps/posix/ctermid.c
00db10
@@ -23,8 +23,7 @@
00db10
    If S is not NULL, the name is copied into it (it should be at
00db10
    least L_ctermid bytes long), otherwise a static buffer is used.  */
00db10
 char *
00db10
-ctermid (s)
00db10
-     char *s;
00db10
+ctermid (char *s)
00db10
 {
00db10
   static char name[L_ctermid];
00db10