From b6de12f55257f26629735f7c45c881971c1feb22 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 29 Jan 2002 19:01:15 +0000 Subject: [PATCH] revert constification of slap_init_user() --- servers/slapd/proto-slap.h | 3 +-- servers/slapd/user.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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; -- 2.39.5