summaryrefslogtreecommitdiffstats
path: root/libutil/login_tty.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-21 20:40:14 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-21 20:40:14 +0000
commite2d30731f8ced0389894f5cd1e81f484c50b1c02 (patch)
tree84d56b3bb1e947ca8085b21a9a5e1d56abd367e3 /libutil/login_tty.c
parent67e320f2201b518732cc46b59ff4f5b0b79c8aec (diff)
downloaduClibc-alpine-e2d30731f8ced0389894f5cd1e81f484c50b1c02.tar.bz2
uClibc-alpine-e2d30731f8ced0389894f5cd1e81f484c50b1c02.tar.xz
Use internal hidden versions of __login_tty/__openpty
Diffstat (limited to 'libutil/login_tty.c')
-rw-r--r--libutil/login_tty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libutil/login_tty.c b/libutil/login_tty.c
index d354407f2..5ae31c52d 100644
--- a/libutil/login_tty.c
+++ b/libutil/login_tty.c
@@ -36,7 +36,7 @@
#include <fcntl.h>
#include <utmp.h>
-int login_tty(int fd)
+int attribute_hidden __login_tty(int fd)
{
(void) setsid();
#ifdef TIOCSCTTY
@@ -67,3 +67,5 @@ int login_tty(int fd)
(void) close(fd);
return (0);
}
+
+strong_alias(__login_tty,login_tty)