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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libutil/login_tty.c b/libutil/login_tty.c
index 5ae31c52d..3979adcec 100644
--- a/libutil/login_tty.c
+++ b/libutil/login_tty.c
@@ -36,7 +36,8 @@
#include <fcntl.h>
#include <utmp.h>
-int attribute_hidden __login_tty(int fd)
+libutil_hidden_proto(login_tty)
+int login_tty(int fd)
{
(void) setsid();
#ifdef TIOCSCTTY
@@ -67,5 +68,4 @@ int attribute_hidden __login_tty(int fd)
(void) close(fd);
return (0);
}
-
-strong_alias(__login_tty,login_tty)
+libutil_hidden_def(login_tty)