]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: Reapply ist.cocci with `--include-headers-for-types --recursive-includes`
authorTim Duesterhus <tim@bastelstu.be>
Tue, 15 Mar 2022 12:11:06 +0000 (13:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 21 Mar 2022 07:30:47 +0000 (08:30 +0100)
commit7750850594ed619eaa2f1b7cca47faa597aeb801
tree9370181111f0b58453cd4a230f596e2671fada61
parent99f47377c86987da550ac1ea393eda72fdc7acd8
CLEANUP: Reapply ist.cocci with `--include-headers-for-types --recursive-includes`

Previous uses of `ist.cocci` did not add `--include-headers-for-types` and
`--recursive-includes` preventing Coccinelle seeing `struct ist` members of
other structs.

Reapply the patch with proper flags to further clean up the use of the ist API.

The command used was:

    spatch -sp_file dev/coccinelle/ist.cocci -in_place --include-headers --include-headers-for-types --recursive-includes --dir src/
12 files changed:
src/cache.c
src/fcgi.c
src/flt_http_comp.c
src/h1.c
src/h2.c
src/http_fetch.c
src/http_htx.c
src/log.c
src/mux_fcgi.c
src/mux_h1.c
src/sink.c
src/tcpcheck.c