]> git.sur5r.net Git - openldap/commitdiff
ITS#7654 fix implicit declaration warnings
authorHoward Chu <hyc@openldap.org>
Fri, 2 Aug 2013 11:03:05 +0000 (04:03 -0700)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 2 Aug 2013 21:15:58 +0000 (14:15 -0700)
servers/slapd/back-meta/config.c
servers/slapd/proto-slap.h

index 0be9ed8de9461e34324decbb0fecc9e99298d384..4a50e8cb199c0608b2444bf12bf19f8aa8dcbec3 100644 (file)
@@ -23,6 +23,7 @@
 #include "portable.h"
 
 #include <stdio.h>
+#include <ctype.h>
 
 #include <ac/string.h>
 #include <ac/socket.h>
@@ -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:
index 41a87cdd2e93c09d6e791b4f9d0c0f5fc87ca2cf..74b85c920ec3d73fe155d3d1bad0a4d49233477c 100644 (file)
@@ -743,6 +743,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;