aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-05-25 04:31:54 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-05-25 04:31:54 +0000
commitaf6cca50afbf8b6c6cbdbc898eeacb8e23d13a34 (patch)
treeb3ed8282e35c90edb42f0844cd65c12048aec39a /include/libbb.h
parent30f892a0ee32ec556467e9f7bc7c46d4ed42f12e (diff)
downloadbusybox-af6cca50afbf8b6c6cbdbc898eeacb8e23d13a34.tar.gz
move setgroups definition to libbb.h so that it no longer inadvertently
get hidden attribute
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index f50ae3604..0d6e3af7d 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -79,9 +79,11 @@
# endif
#endif
-/* Some libc's forget to declare these, help them */
+/* Some libc's forget to declare these, do it ourself */
extern char **environ;
+/* Set the group set for the current user to GROUPS (N of them). */
+int setgroups(size_t n, const gid_t *groups);
#if defined(__GLIBC__) && __GLIBC__ < 2
int vdprintf(int d, const char *format, va_list ap);
#endif