From: Hallvard Furuseth Date: Fri, 14 Oct 2005 12:57:07 +0000 (+0000) Subject: constify berval arg to load_extop(), to match usage X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~260 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=78873370c8664d1181af613eec1253fe44537e4b;p=openldap constify berval arg to load_extop(), to match usage --- diff --git a/servers/slapd/extended.c b/servers/slapd/extended.c index bef3b96560..894de43f52 100644 --- a/servers/slapd/extended.c +++ b/servers/slapd/extended.c @@ -248,7 +248,7 @@ done:; int load_extop( - struct berval *ext_oid, + const struct berval *ext_oid, slap_mask_t ext_flags, SLAP_EXTOP_MAIN_FN *ext_main ) { diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 6369ef409d..f6812d5c9e 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -868,7 +868,7 @@ typedef int (SLAP_EXTOP_GETOID_FN) LDAP_P(( int index, struct berval *oid, int blen )); LDAP_SLAPD_F (int) load_extop LDAP_P(( - struct berval *ext_oid, + const struct berval *ext_oid, slap_mask_t flags, SLAP_EXTOP_MAIN_FN *ext_main ));