projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c516fc
)
BUG/MEDIUM: build: Fix compilation by spelling decl correctly.
author
Olivier Houchard
<cognet@ci0.org>
Fri, 20 Mar 2020 10:03:38 +0000
(11:03 +0100)
committer
Olivier 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
patch
|
blob
|
history
diff --git
a/src/fd.c
b/src/fd.c
index
e790f3e
..
d026b15
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
/*