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)