aboutsummaryrefslogtreecommitdiff
path: root/src/passwd/getspnam_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/passwd/getspnam_r.c')
-rw-r--r--src/passwd/getspnam_r.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/passwd/getspnam_r.c b/src/passwd/getspnam_r.c
index 541e8531..e794fc19 100644
--- a/src/passwd/getspnam_r.c
+++ b/src/passwd/getspnam_r.c
@@ -123,3 +123,11 @@ int getspnam_r(const char *name, struct spwd *sp, char *buf, size_t size, struct
errno = rv ? rv : orig_errno;
return rv;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif