]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: startup: use global progname variable
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Thu, 21 Nov 2024 16:24:37 +0000 (17:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Nov 2024 18:55:21 +0000 (19:55 +0100)
commitbfe0f9d02da63b0759434bb3abdc6f6e0f8dd4fb
tree51a2f79be627cf808986ef7e75de10ba1914ae84
parentef154a49e13458e041538bde94ffc65cbb32518e
MINOR: startup: use global progname variable

Let's store progname in the global variable, as it is handy to use it in
different parts of code to format messages sent to stdout.

This reduces the number of arguments, which we should pass to some functions.
include/haproxy/global.h
include/haproxy/linuxcap.h
src/haproxy.c
src/linuxcap.c