X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Ftcp_keep_alive.c;h=81d0850245377ffdb90c762faefcdb572b0ee67b;hp=dc8cf2fb398258903b4abaae0127988360010fba;hb=e4265826e636834fa6ee86cc2873bd99e36ccea5;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a diff --git a/src/bin/lttng-relayd/tcp_keep_alive.c b/src/bin/lttng-relayd/tcp_keep_alive.c index dc8cf2fb3..81d085024 100644 --- a/src/bin/lttng-relayd/tcp_keep_alive.c +++ b/src/bin/lttng-relayd/tcp_keep_alive.c @@ -513,10 +513,10 @@ error: /* Initialize the TCP keep-alive configuration. */ __attribute__((constructor)) static -int tcp_keep_alive_init(void) +void tcp_keep_alive_init(void) { tcp_keep_alive_init_support(&support); - return tcp_keep_alive_init_config(&support, &config); + (void) tcp_keep_alive_init_config(&support, &config); } /*