mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Add missing "static" for functions declared static but defined non-static
This commit is contained in:
parent
11ab0b655e
commit
f43a823c73
@ -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 )
|
||||
{
|
||||
|
@ -1192,7 +1192,7 @@ static int parsePostRead (
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
int parseValuesReturnFilter (
|
||||
static int parseValuesReturnFilter (
|
||||
Operation *op,
|
||||
SlapReply *rs,
|
||||
LDAPControl *ctrl )
|
||||
|
@ -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();
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user