summaryrefslogtreecommitdiff
path: root/core/openbsd/include
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-04-23 15:23:47 -0700
committerMichael Forney <mforney@mforney.org>2016-04-23 16:51:20 -0700
commita881cf90771d10cd05b5ffb812991da20dc2018e (patch)
treeec61d723e4a272ff36843f7744cc01f62f4fa40c /core/openbsd/include
parent59bd948a771f8e98e321c12d33accfc7786db0b1 (diff)
Drop setpassent/setgroupent patch and define them in terms of setpwent and setgrent
Diffstat (limited to 'core/openbsd/include')
-rw-r--r--core/openbsd/include/grp.h2
-rw-r--r--core/openbsd/include/pwd.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/core/openbsd/include/grp.h b/core/openbsd/include/grp.h
new file mode 100644
index 00000000..49f4dfd4
--- /dev/null
+++ b/core/openbsd/include/grp.h
@@ -0,0 +1,2 @@
+#include_next <grp.h>
+#define setgroupent(n) setgrent()
diff --git a/core/openbsd/include/pwd.h b/core/openbsd/include/pwd.h
new file mode 100644
index 00000000..e859a8d1
--- /dev/null
+++ b/core/openbsd/include/pwd.h
@@ -0,0 +1,2 @@
+#include_next <pwd.h>
+#define setpassent(n) setpwent()