]> git.sur5r.net Git - openldap/commitdiff
Add missing 'static'... (ITS#823,825,828)
authorKurt Zeilenga <kurt@openldap.org>
Wed, 11 Oct 2000 23:42:53 +0000 (23:42 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 11 Oct 2000 23:42:53 +0000 (23:42 +0000)
as reported by Jeff Earickson <jaearick@colby.edu>
other suggestions to be separately reviewed

clients/tools/ldapsearch.c
libraries/libldap/tmpltest.c
servers/slapd/back-ldbm/alias.c

index 0b31d500cfa6758d90fb1c1a297665842de8e398..13a786b2481c75b61f18d7b7fe27aadbd6774f57 100644 (file)
@@ -1291,7 +1291,9 @@ static int print_result(
        return err;
 }
 
-void print_ctrls( LDAPControl **ctrls ) {
+static void print_ctrls(
+       LDAPControl **ctrls )
+{
        int i;
        for(i=0; ctrls[i] != NULL; i++ ) {
                /* control: OID criticality base64value */
index 728724690d81727837cf216eab3a281fa23ca4bc..711884d9ac64db3126b2c8f372e2d70854bb42f3 100644 (file)
@@ -108,7 +108,7 @@ static const unsigned long item_opt_vals[] = {
 };
 
 
-void
+static void
 dump_tmpl( struct ldap_disptmpl *tmpl )
 {
     struct ldap_tmplitem       *rowp, *colp;
@@ -226,7 +226,7 @@ dump_tmpl( struct ldap_disptmpl *tmpl )
 }
 
 
-void
+static void
 dump_srchpref( struct ldap_searchobj *so )
 {
     int i;
index bab9105a8ecccb7be4a210d3adf66391277e1ed6..f04428ad14f58f56baa45dc7a94e4f8a665eb51d 100644 (file)
@@ -264,7 +264,7 @@ static char* get_alias_dn(
        return dn;
 }
 
-char* new_superior(
+static char* new_superior(
        const char *dn,
        const char *oldSup,
        const char *newSup )