[COMMITTED] Hurd: Add missing hidden proto definition for __ttyname_r

Message ID 87tunbf0th.fsf@oldenburg.str.redhat.com
State New
Headers show
Series
  • [COMMITTED] Hurd: Add missing hidden proto definition for __ttyname_r
Related show

Commit Message

naohirot--- via Libc-alpha May 10, 2021, 8:30 a.m.
---
 sysdeps/mach/hurd/ttyname_r.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/sysdeps/mach/hurd/ttyname_r.c b/sysdeps/mach/hurd/ttyname_r.c
index d0b7f2a788..02123b2b47 100644
--- a/sysdeps/mach/hurd/ttyname_r.c
+++ b/sysdeps/mach/hurd/ttyname_r.c
@@ -49,5 +49,5 @@  __ttyname_r (int fd, char *buf, size_t buflen)
   memcpy (buf, nodename, len);
   return 0;
 }
-
+libc_hidden_def (__ttyname_r)
 weak_alias (__ttyname_r, ttyname_r)