aboutsummaryrefslogtreecommitdiff
path: root/src/passwd/getgrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/passwd/getgrent.c')
-rw-r--r--src/passwd/getgrent.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/passwd/getgrent.c b/src/passwd/getgrent.c
index 835b9ab5..cf291425 100644
--- a/src/passwd/getgrent.c
+++ b/src/passwd/getgrent.c
@@ -37,3 +37,11 @@ struct group *getgrnam(const char *name)
__getgr_a(name, 0, &gr, &line, &size, &mem, &nmem, &res);
return res;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif