aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/ttyname_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/ttyname_r.c')
-rw-r--r--src/unistd/ttyname_r.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unistd/ttyname_r.c b/src/unistd/ttyname_r.c
index 82acb75e..f49d2be9 100644
--- a/src/unistd/ttyname_r.c
+++ b/src/unistd/ttyname_r.c
@@ -26,3 +26,11 @@ int ttyname_r(int fd, char *name, size_t size)
return 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif