From: Kurt Zeilenga Date: Tue, 29 Jan 2002 19:01:15 +0000 (+0000) Subject: revert constification of slap_init_user() X-Git-Tag: LDBM_POST_GIANT_RWLOCK~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b6de12f55257f26629735f7c45c881971c1feb22;p=openldap revert constification of slap_init_user() --- diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 67a750b2e0..e54a8c933f 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -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 /* diff --git a/servers/slapd/user.c b/servers/slapd/user.c index 1eb007938f..e12c6032a3 100644 --- a/servers/slapd/user.c +++ b/servers/slapd/user.c @@ -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;