MINOR: vars: replace static functions with global ones
authorMiroslav Zagorac <mzagorac@haproxy.com>
Wed, 9 Dec 2020 15:34:29 +0000 (16:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Dec 2020 13:20:08 +0000 (14:20 +0100)
commit6deab79d59e834dd8e2e432d7726eb067c60f919
tree968cbdd1fe5ec37c1ac1e528450d2e7753a32506
parentda867d8d68f19f9034a47d42d16db78a84a12299
MINOR: vars: replace static functions with global ones

The OpenTracing filter uses several internal HAProxy functions to work
with variables and therefore requires two static local HAProxy functions,
var_accounting_diff() and var_clear(), to be declared global.

In fact, the var_clear() function was not originally defined as static,
but it lacked a declaration.
include/haproxy/vars.h
src/vars.c