mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-29 17:42:54 +00:00
BUILD/MEDIUM: fd: Declare fd_mig_lock as extern.
Declare fd_mig_lock as extern so that it isn't defined multiple times. This should fix build for architectures without double-width CAS.
This commit is contained in:
parent
e4ba0d4fc6
commit
ad91124bcf
@ -67,7 +67,7 @@ void fd_remove(int fd);
|
||||
int fd_takeover(int fd, void *expected_owner);
|
||||
|
||||
#ifndef HA_HAVE_CAS_DW
|
||||
__decl_hathreads(HA_RWLOCK_T fd_mig_lock);
|
||||
__decl_hathreads(extern HA_RWLOCK_T fd_mig_lock);
|
||||
#endif
|
||||
|
||||
ssize_t fd_write_frag_line(int fd, size_t maxlen, const struct ist pfx[], size_t npfx, const struct ist msg[], size_t nmsg, int nl);
|
||||
|
Loading…
Reference in New Issue
Block a user