path: root/libutil/login_tty.c
diff options
authorBernhard Reutner-Fischer <>2015-03-25 22:59:45 (GMT)
committerBernhard Reutner-Fischer <>2015-03-25 22:59:45 (GMT)
commit6ff9c31abc14f207265ab214370982ecb3bfe428 (patch)
treeafdaf5624e71c939c39abe8ef3aba5980aa4d911 /libutil/login_tty.c
parent2b33716c08cc506e57115e34b5fe11d8d5477398 (diff)
utmp: favour POSIX utmpx over SVID utmp
Note: _PATH_UTMPX == _PATH_UTMP and the utmp struct is identical to the utmpx struct so this only changes the external API entrypoints and NOT the underlying data source. This saves about 500b (~1300b from previously ~1950) while at it. Signed-off-by: Bernhard Reutner-Fischer <>
Diffstat (limited to 'libutil/login_tty.c')
1 files changed, 0 insertions, 1 deletions
diff --git a/libutil/login_tty.c b/libutil/login_tty.c
index 3979adc..3665858 100644
--- a/libutil/login_tty.c
+++ b/libutil/login_tty.c
@@ -36,7 +36,6 @@
#include <fcntl.h>
#include <utmp.h>
int login_tty(int fd)
(void) setsid();