Add missing 'static'... (ITS#823,825,828)

as reported by Jeff Earickson <jaearick@colby.edu>
other suggestions to be separately reviewed
This commit is contained in:
Kurt Zeilenga 2000-10-11 23:42:53 +00:00
parent f8e5ed25e9
commit 5a32ff0603
3 changed files with 6 additions and 4 deletions

View 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 */

View 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;

View 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 )