From 78873370c8664d1181af613eec1253fe44537e4b Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 14 Oct 2005 12:57:07 +0000 Subject: [PATCH] constify berval arg to load_extop(), to match usage --- servers/slapd/extended.c | 2 +- servers/slapd/proto-slap.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 )); -- 2.39.5