]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: accept4: move the socketcall declaration outside of accept4()
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Oct 2012 06:26:12 +0000 (08:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Oct 2012 15:42:39 +0000 (17:42 +0200)
commit7fca87fd9da5e53c4b2a302b2dc88d8298a0cec5
tree87e6faa3e617d294a6a2e83d318c063c1de20d91
parent667c905fe5153a8754bd8177c80dd9e6c245a0b0
BUILD: accept4: move the socketcall declaration outside of accept4()

Gcc 4.2.4 breaks on the syscall declared inside the function, move it
outside and declare it static inline.
include/common/accept4.h