mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
revert constification of slap_init_user()
This commit is contained in:
parent
78fe3a311f
commit
b6de12f552
@ -938,8 +938,7 @@ LDAP_SLAPD_F (int) syn_schema_info( Entry *e );
|
||||
* user.c
|
||||
*/
|
||||
#if defined(HAVE_PWD_H) && defined(HAVE_GRP_H)
|
||||
LDAP_SLAPD_F (void) slap_init_user LDAP_P((
|
||||
const char *username, const char *groupname ));
|
||||
LDAP_SLAPD_F (void) slap_init_user LDAP_P(( char *username, char *groupname ));
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -41,7 +41,7 @@
|
||||
*/
|
||||
|
||||
void
|
||||
slap_init_user( const char *user, const char *group )
|
||||
slap_init_user( char *user, char *group )
|
||||
{
|
||||
uid_t uid = 0;
|
||||
gid_t gid = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user