commit | 15f9ac3c59e9bef455b75ab97020f41155c4ea7a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat May 08 12:30:50 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat May 08 12:34:44 2021 +0200 |
tree | ee22fe0743aa032fd6813bdf049c4441025cf685 | |
parent | e8ceea13457babbd33c573447f56f8a27bedb97d [diff] |
REORG: mworker: move proc_self from global to mworker Only mworker uses proc_self, and it was declared in global.h, forcing users of global.h to include mworker and its dependencies. Moving it to mworker reduces the preprocessed size of version.c from 170 to 125kB by shrinking the number of local includes from 30 to 16 and the number of system includes from 147 to 132.