summaryrefslogtreecommitdiff
path: root/src/grp/__grp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp/__grp.c')
-rw-r--r--src/grp/__grp.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/grp/__grp.c b/src/grp/__grp.c
new file mode 100644
index 00000000..80c8ab4b
--- /dev/null
+++ b/src/grp/__grp.c
@@ -0,0 +1,18 @@
+#include "_grp.h"
+
+#ifndef _XOPEN_SOURCE
+#undef getgrent
+#define getgrent __getgrent
+#include "getgrent.c"
+#endif
+
+struct __grp __grp =
+{
+ NULL,
+ { 0 },
+ getgrent,
+};
+
+/*
+POSIX(1)
+*/