From: Howard Chu Date: Fri, 2 Aug 2013 11:03:05 +0000 (-0700) Subject: ITS#7654 fix implicit declaration warnings X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8e28696f3187cdc9023587f60620057db89a2770;p=openldap ITS#7654 fix implicit declaration warnings --- diff --git a/servers/slapd/back-meta/config.c b/servers/slapd/back-meta/config.c index 0be9ed8de9..4a50e8cb19 100644 --- a/servers/slapd/back-meta/config.c +++ b/servers/slapd/back-meta/config.c @@ -23,6 +23,7 @@ #include "portable.h" #include +#include #include #include @@ -30,6 +31,7 @@ #include "slap.h" #include "config.h" #include "lutil.h" +#include "ldif.h" #include "../back-ldap/back-ldap.h" #include "back-meta.h" @@ -1711,7 +1713,7 @@ meta_back_cf_gen( ConfigArgs *c ) #ifdef SLAPD_META_CLIENT_PR case LDAP_BACK_CFG_CLIENT_PR: - mc->mc_ps == META_CLIENT_PR_DISABLE; + mc->mc_ps = META_CLIENT_PR_DISABLE; break; #endif /* SLAPD_META_CLIENT_PR */ @@ -1732,7 +1734,7 @@ meta_back_cf_gen( ConfigArgs *c ) break; case LDAP_BACK_CFG_NRETRIES: - mc->mc_nretries == META_RETRY_DEFAULT; + mc->mc_nretries = META_RETRY_DEFAULT; break; case LDAP_BACK_CFG_QUARANTINE: diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 4a787d5982..a6a47f067e 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -748,6 +748,8 @@ LDAP_SLAPD_F (int) slap_client_connect LDAP_P(( LDAP **ldp, slap_bindconf *sb )) LDAP_SLAPD_F (int) config_generic_wrapper LDAP_P(( Backend *be, const char *fname, int lineno, int argc, char **argv )); LDAP_SLAPD_F (char *) anlist_unparse LDAP_P(( AttributeName *, char *, ber_len_t buflen )); +LDAP_SLAPD_F (int) slap_keepalive_parse( struct berval *val, void *bc, + slap_cf_aux_table *tab0, const char *tabmsg, int unparse ); #ifdef LDAP_SLAPI LDAP_SLAPD_V (int) slapi_plugins_used;