From: Howard Chu Date: Tue, 23 Sep 2003 22:52:35 +0000 (+0000) Subject: ITS#2735 - plug memory leaks, cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~664 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b23dff298788de57f0714c11eeefa1d216ecdd7;p=openldap ITS#2735 - plug memory leaks, cleanup --- diff --git a/servers/slapd/globals.c b/servers/slapd/globals.c index f21065908f..fdc4c823a2 100644 --- a/servers/slapd/globals.c +++ b/servers/slapd/globals.c @@ -25,7 +25,3 @@ const struct berval slap_unknown_bv = BER_BVC("unknown"); /* normalized boolean values */ const struct berval slap_true_bv = BER_BVC("TRUE"); const struct berval slap_false_bv = BER_BVC("FALSE"); - -/* ldapsync items */ -const struct berval slap_ldapsync_bv = BER_BVC("ldapsync"); -const struct berval slap_ldapsync_cn_bv = BER_BVC("cn=ldapsync"); diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 47803caa77..ca1ed0ef53 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -358,7 +358,7 @@ LDAP_SLAPD_F (ContentRule *) cr_bvfind LDAP_P(( * ctxcsn.c */ -LDAP_SLAPD_F (struct berval *) slap_get_commit_csn LDAP_P(( Operation * )); +LDAP_SLAPD_F (void) slap_get_commit_csn LDAP_P(( Operation *, struct berval * )); LDAP_SLAPD_F (void) slap_rewind_commit_csn LDAP_P(( Operation * )); LDAP_SLAPD_F (void) slap_graduate_commit_csn LDAP_P(( Operation * )); LDAP_SLAPD_F (Entry *) slap_create_context_csn_entry LDAP_P(( Backend *, struct berval *));