aboutsummaryrefslogtreecommitdiff
path: root/src/legacy/getusershell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/legacy/getusershell.c')
-rw-r--r--src/legacy/getusershell.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/legacy/getusershell.c b/src/legacy/getusershell.c
index 5fecdec2..d2129d62 100644
--- a/src/legacy/getusershell.c
+++ b/src/legacy/getusershell.c
@@ -30,3 +30,11 @@ char *getusershell(void)
if (line[l-1]=='\n') line[l-1]=0;
return line;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif