[PATCH 0/3] fio: fix static and const correctness
Tomas Winkler <[email protected]> Wed, 20 Aug 2025 16:03:18 +0300
| Newsgroups | org.kernel.vger.fio |
|---|---|
| Message-ID | <[email protected]> |
Fix static and const correctness issues across fio. Mark functions as static when they are not used outside their compilation unit, and add const qualifiers to input-only parameters. This reduces symbol exposure, clarifies function contracts. Tomas Winkler (3): stat: make stat.c static and const-correct engines/http: make fio_http_getevents static engines: make engines static-correct engines/cpu.c | 4 +- engines/exec.c | 6 +-- engines/http.c | 2 +- engines/nvme.c | 4 +- engines/sg.c | 2 +- stat.c | 100 ++++++++++++++++++++++++------------------------- stat.h | 24 ++++++------ steadystate.c | 4 +- steadystate.h | 4 +- 9 files changed, 75 insertions(+), 75 deletions(-) -- 2.43.0