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