aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/ttyname_r.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-10 10:22:00 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-10 10:29:36 +0200
commit9637e5669bcbf978cb529f2d5b04165fd1e61713 (patch)
treedb5c57450e880f66e8a99414fdd71f46815c5a73 /sysdeps/mach/hurd/ttyname_r.c
parent104c7b1967c3e78435c6f7eab5e225a7eddf9c6e (diff)
downloadglibc-9637e5669bcbf978cb529f2d5b04165fd1e61713.zip
glibc-9637e5669bcbf978cb529f2d5b04165fd1e61713.tar.gz
glibc-9637e5669bcbf978cb529f2d5b04165fd1e61713.tar.bz2
Hurd: Add missing hidden proto definition for __ttyname_r
Diffstat (limited to 'sysdeps/mach/hurd/ttyname_r.c')
-rw-r--r--sysdeps/mach/hurd/ttyname_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/ttyname_r.c b/sysdeps/mach/hurd/ttyname_r.c
index d0b7f2a..02123b2 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)