From: Ondřej Kuzník Date: Fri, 2 Sep 2022 11:56:25 +0000 (+0100) Subject: ITS#9907 Do not redefine variables inherited from slapd X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9014e8bb8177c2304528a505a576b00bc85ce1de;p=thirdparty%2Fopenldap.git ITS#9907 Do not redefine variables inherited from slapd --- diff --git a/servers/lloadd/config.c b/servers/lloadd/config.c index 1d64c58d5a..377d7dac64 100644 --- a/servers/lloadd/config.c +++ b/servers/lloadd/config.c @@ -1605,7 +1605,7 @@ config_fname( ConfigArgs *c ) #ifdef LDAP_TCP_BUFFER static BerVarray tcp_buffer; -int tcp_buffer_num; +static int tcp_buffer_num; #define SLAP_TCP_RMEM ( 0x1U ) #define SLAP_TCP_WMEM ( 0x2U ) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 61bb15d2d5..8ee57bea1b 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -2978,7 +2978,7 @@ config_subordinate(ConfigArgs *c) #ifdef LDAP_TCP_BUFFER static BerVarray tcp_buffer; -int tcp_buffer_num; +static int tcp_buffer_num; #define SLAP_TCP_RMEM (0x1U) #define SLAP_TCP_WMEM (0x2U)