mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
return setgroups() decl to libbb, it is needed if we use libpwdgrp.
This commit is contained in:
parent
f6cad924b1
commit
cac0f5b7e5
@ -80,8 +80,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Some libc's forget to declare these, do it ourself */
|
/* Some libc's forget to declare these, do it ourself */
|
||||||
extern char **environ;
|
|
||||||
|
|
||||||
|
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
|
#if defined(__GLIBC__) && __GLIBC__ < 2
|
||||||
int vdprintf(int d, const char *format, va_list ap);
|
int vdprintf(int d, const char *format, va_list ap);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user