]> git.ipfire.org Git - thirdparty/curl.git/commit
tests/server: do not redefine standard functions in `sockfilt`
authorViktor Szakats <commit@vsz.me>
Tue, 11 Mar 2025 18:29:14 +0000 (19:29 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 13 Mar 2025 10:36:53 +0000 (11:36 +0100)
commit2283e40fc32327365e1e25ff5e5e0349a543b3f3
treeb436084083a6569e47e8dd9e04b35b0fe52706e8
parent91d061725ee0d186624d17e94178f62e4e1ad261
tests/server: do not redefine standard functions in `sockfilt`

Use a namespaced macro instead. To avoid confusion when other headers
also redefine these functions. And to improve readability by making it
apparent that the code sometimes overrides these functions.

Cherry-picked from #15000
Closes #16698
tests/server/sockfilt.c