mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
nsswitch: add some const to _nss_winbind_initgroups_dyn() prototype
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13344 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Björn Jacke <bjacke@samba.org>
This commit is contained in:
parent
b8c30abb02
commit
d5be3b3279
@ -1024,7 +1024,7 @@ _nss_winbind_getgrgid_r(gid_t gid,
|
||||
/* Initialise supplementary groups */
|
||||
|
||||
NSS_STATUS
|
||||
_nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start,
|
||||
_nss_winbind_initgroups_dyn(const char *user, gid_t group, long int *start,
|
||||
long int *size, gid_t **groups, long int limit,
|
||||
int *errnop)
|
||||
{
|
||||
|
@ -40,7 +40,7 @@ NSS_STATUS _nss_winbind_getgrnam_r(const char *name, struct group *result,
|
||||
char *buffer, size_t buflen, int *errnop);
|
||||
NSS_STATUS _nss_winbind_getgrgid_r(gid_t gid, struct group *result, char *buffer,
|
||||
size_t buflen, int *errnop);
|
||||
NSS_STATUS _nss_winbind_initgroups_dyn(char *user, gid_t group, long int *start,
|
||||
NSS_STATUS _nss_winbind_initgroups_dyn(const char *user, gid_t group, long int *start,
|
||||
long int *size, gid_t **groups,
|
||||
long int limit, int *errnop);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user