move setgroups definition to libbb.h so that it no longer inadvertently

get hidden attribute
This commit is contained in:
Denis Vlasenko
2008-05-25 04:31:54 +00:00
parent 30f892a0ee
commit af6cca50af
2 changed files with 3 additions and 6 deletions

View File

@ -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