summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/pwd_grp/config.h')
-rw-r--r--libc/pwd_grp/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/pwd_grp/config.h b/libc/pwd_grp/config.h
index eb029a31a..5a5272999 100644
--- a/libc/pwd_grp/config.h
+++ b/libc/pwd_grp/config.h
@@ -22,6 +22,15 @@
#ifndef _CONFIG_GRP_H
#define _CONFIG_GRP_H
+#include <pwd.h>
+#include <grp.h>
+
+/* These are used internally to uClibc */
+extern struct group * __getgrent __P ((int grp_fd));
+
+extern int __getpwent_r(struct passwd * passwd, char * line_buff,
+ size_t buflen, int pwd_fd);
+
/*
* Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer
* so that lines of any length can be used. On very very small systems,