summaryrefslogtreecommitdiff
path: root/libutil/login_tty.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-16 21:39:33 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-16 21:39:33 +0000
commit6f2aa010fb0606d74907077e6004193046cffa08 (patch)
tree915e5ec61725395960678b83ea5aa93c007aeeaf /libutil/login_tty.c
parentf3bd16bc0f9ebad95f8d7ed5a8023083ef2258ef (diff)
Convert to hidden_def
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)