summaryrefslogtreecommitdiff
path: root/libutil/login_tty.c
diff options
context:
space:
mode:
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)