commit | cfc4f24d80eb1fbdb25592bc9459a9265a1d9678 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat May 08 11:41:28 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat May 08 12:11:29 2021 +0200 |
tree | 1c8ca5ee617ef796a85258c7e02d01e24a5f1f5b | |
parent | 9eec7e206e06aaa9157762cdb29102828cad6200 [diff] |
REORG: vars: move the "proc" scope variables out of the global struct The presence of this field causes a long dependency chain because almost everyone includes global-t.h, and vars include sample_data which include some system includes as well as HTTP parts. There is absolutely no reason for having the process-wide variables in the global struct, let's just move them into vars.c and vars.h. This reduces from ~190k to ~170k the preprocessed output of version.c.