aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/ctermid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/ctermid.c')
-rw-r--r--src/unistd/ctermid.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unistd/ctermid.c b/src/unistd/ctermid.c
index 1612770a..0b81f85c 100644
--- a/src/unistd/ctermid.c
+++ b/src/unistd/ctermid.c
@@ -5,3 +5,11 @@ char *ctermid(char *s)
{
return s ? strcpy(s, "/dev/tty") : "/dev/tty";
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif