Add missing "static" for functions declared static but defined non-static

This commit is contained in:
Hallvard Furuseth 2005-07-18 05:14:41 +00:00
parent 11ab0b655e
commit f43a823c73
4 changed files with 8 additions and 8 deletions

View File

@ -557,7 +557,7 @@ ldap_dn_normalize( LDAP_CONST char *dnin,
* LDAPAVA helpers (will become part of the API for operations
* on structural representations of DNs).
*/
LDAPAVA *
static LDAPAVA *
ldapava_new( const struct berval *attr, const struct berval *val,
unsigned flags, void *ctx )
{

View File

@ -1192,7 +1192,7 @@ static int parsePostRead (
return LDAP_SUCCESS;
}
int parseValuesReturnFilter (
static int parseValuesReturnFilter (
Operation *op,
SlapReply *rs,
LDAPControl *ctrl )

View File

@ -2063,7 +2063,7 @@ int slapd_daemon( void )
}
int sockinit(void)
static int sockinit(void)
{
#if defined( HAVE_WINSOCK2 )
WORD wVersionRequested;
@ -2104,7 +2104,7 @@ int sockinit(void)
return 0;
}
int sockdestroy(void)
static int sockdestroy(void)
{
#if defined( HAVE_WINSOCK2 ) || defined( HAVE_WINSOCK )
WSACleanup();

View File

@ -1022,7 +1022,7 @@ do_syncrepl(
return NULL;
}
int
static int
syncrepl_message_to_entry(
syncinfo_t *si,
Operation *op,
@ -1193,7 +1193,7 @@ typedef struct dninfo {
AttributeDescription **ads;
} dninfo;
int
static int
syncrepl_entry(
syncinfo_t* si,
Operation *op,
@ -1858,7 +1858,7 @@ syncrepl_add_glue(
return;
}
void
static void
syncrepl_updateCookie(
syncinfo_t *si,
Operation *op,
@ -2072,7 +2072,7 @@ null_callback(
return LDAP_SUCCESS;
}
struct berval *
static struct berval *
slap_uuidstr_from_normalized(
struct berval* uuidstr,
struct berval* normalized,