aboutsummaryrefslogtreecommitdiff
path: root/src/misc/login_tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/login_tty.c')
-rw-r--r--src/misc/login_tty.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/misc/login_tty.c b/src/misc/login_tty.c
index f0be0a09..0c7cc756 100644
--- a/src/misc/login_tty.c
+++ b/src/misc/login_tty.c
@@ -12,3 +12,11 @@ int login_tty(int fd)
if (fd>2) close(fd);
return 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif