MINOR: init: Fix the prototype for per-thread free callbacks
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Nov 2020 14:19:19 +0000 (15:19 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Nov 2020 15:26:10 +0000 (16:26 +0100)
commit83fefbcdff9f562d719fcb5da6b4a11e20e13c7c
tree7ff22013fda9725f2fc57f12925d8a7a6597dc46
parentc751b4508d9245baa54a19f7658aa7307d76e447
MINOR: init: Fix the prototype for per-thread free callbacks

Functions registered to release memory per-thread have no return value. But the
registering function and the function pointer in per_thread_free_fct structure
specify it should return an integer. This patch fixes it.

This patch may be backported as far as 2.0.
include/haproxy/global.h
src/haproxy.c