aboutsummaryrefslogtreecommitdiff
path: root/src/passwd/putpwent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/passwd/putpwent.c')
-rw-r--r--src/passwd/putpwent.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/passwd/putpwent.c b/src/passwd/putpwent.c
index 312b7653..d4717c99 100644
--- a/src/passwd/putpwent.c
+++ b/src/passwd/putpwent.c
@@ -8,3 +8,11 @@ int putpwent(const struct passwd *pw, FILE *f)
pw->pw_name, pw->pw_passwd, pw->pw_uid, pw->pw_gid,
pw->pw_gecos, pw->pw_dir, pw->pw_shell)<0 ? -1 : 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif