Convert LIST_HEAD into struct list_head when handling its prototype.
Showing the changes to tools/lib/python (1 of 1 file). Show all
Unified · Split
| @@ -198,6 +198,7 @@ function_xforms = [ · 197 unmodified lines | ||
| 198 | 198 | var_xforms = [ |
| 199 | 199 | (KernRe(r"__read_mostly"), ""), |
| 200 | 200 | (KernRe(r"__ro_after_init"), ""), |
| 201 | + (KernRe(r"LIST_HEAD\(([\w_]+)\)"), r"struct list_head \1"), | |
| 201 | 202 | (KernRe(r"(?://.*)$"), ""), |
| 202 | 203 | (KernRe(r"(?:/\*.*\*/)"), ""), |
| 203 | 204 | (KernRe(r";$"), ""), |