From ce44bdbc376cfbfd79d75420f17d7d1658c9bd46 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 25 May 2006 16:32:43 +0000 Subject: [PATCH] Constify slapd_slp_attrs (assigned a const char* in main.c:slapd_opt_slp()) --- servers/slapd/daemon.c | 2 +- servers/slapd/proto-slap.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 03559d6288..d437d1dbca 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -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; diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 5abf877253..17c299d37b 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -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; -- 2.39.5