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

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