]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MEDIUM: build: Fix compilation by spelling decl correctly.
authorOlivier Houchard <cognet@ci0.org>
Fri, 20 Mar 2020 10:03:38 +0000 (11:03 +0100)
committerOlivier Houchard <cognet@ci0.org>
Fri, 20 Mar 2020 10:03:38 +0000 (11:03 +0100)
Fix build on architectures for which double-width CAS isn't implemented by
spelling __decl_rwlock correctly.

src/fd.c

index e790f3e8d2e8bc0fffd6f77eb533dae4934f7798..d026b15eec360c3d348a66076bfe8e37088d285c 100644 (file)
--- a/src/fd.c
+++ b/src/fd.c
@@ -336,7 +336,7 @@ static void fd_dodelete(int fd, int do_close)
 }
 
 #ifndef HA_HAVE_CAS_DW
-__decl_hathreads(__delc_rwlock(fd_mig_lock));
+__decl_hathreads(__decl_rwlock(fd_mig_lock));
 #endif
 
 /*