From: Ondřej Kuzník Date: Thu, 4 Feb 2021 18:07:25 +0000 (+0000) Subject: Do not redefine lload_change everywhere X-Git-Tag: OPENLDAP_REL_ENG_2_5_1ALPHA~10^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e030e5eadd7ebaa9fefa26bac7c1c0bc4ea154f9;p=thirdparty%2Fopenldap.git Do not redefine lload_change everywhere --- diff --git a/servers/lloadd/lload.h b/servers/lloadd/lload.h index 15a7d07dd1..1dc9d1abc0 100644 --- a/servers/lloadd/lload.h +++ b/servers/lloadd/lload.h @@ -167,7 +167,7 @@ struct LloadChange { enum lcf_backend backend; } flags; void *target; -} lload_change; +}; typedef enum { #ifdef LDAP_API_FEATURE_VERIFY_CREDENTIALS diff --git a/servers/lloadd/proto-lload.h b/servers/lloadd/proto-lload.h index 6d22442030..00ca0d16ff 100644 --- a/servers/lloadd/proto-lload.h +++ b/servers/lloadd/proto-lload.h @@ -123,6 +123,7 @@ LDAP_SLAPD_V (struct evdns_base *) dnsbase; LDAP_SLAPD_V (volatile sig_atomic_t) slapd_shutdown; LDAP_SLAPD_V (volatile sig_atomic_t) slapd_gentle_shutdown; LDAP_SLAPD_V (int) lloadd_inited; +LDAP_SLAPD_V (struct LloadChange) lload_change; LDAP_SLAPD_V (struct event *) lload_timeout_event;