Constify slapd_slp_attrs (assigned a const char* in main.c:slapd_opt_slp())

This commit is contained in:
Hallvard Furuseth 2006-05-25 16:32:43 +00:00
parent f9f0b243d6
commit ce44bdbc37
2 changed files with 2 additions and 2 deletions

View file

@ -339,7 +339,7 @@ static struct slap_daemon {
static char** slapd_srvurls = NULL;
static SLPHandle slapd_hslp = 0;
int slapd_register_slp = 0;
char *slapd_slp_attrs = NULL;
const char *slapd_slp_attrs = NULL;
static SLPError slapd_slp_cookie;

View file

@ -727,7 +727,7 @@ LDAP_SLAPD_F (int) slapd_clr_read LDAP_P((ber_socket_t s, int wake));
LDAP_SLAPD_V (volatile sig_atomic_t) slapd_abrupt_shutdown;
LDAP_SLAPD_V (volatile sig_atomic_t) slapd_shutdown;
LDAP_SLAPD_V (int) slapd_register_slp;
LDAP_SLAPD_V (char *) slapd_slp_attrs;
LDAP_SLAPD_V (const char *) slapd_slp_attrs;
LDAP_SLAPD_V (slap_ssf_t) local_ssf;
LDAP_SLAPD_V (struct runqueue_s) slapd_rq;