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 | var_xforms = [ | 198 | var_xforms = [ |
| 199 | (KernRe(r"__read_mostly"), ""), | 199 | (KernRe(r"__read_mostly"), ""), |
| 200 | (KernRe(r"__ro_after_init"), ""), | 200 | (KernRe(r"__ro_after_init"), ""), |
| 201 | (KernRe(r"LIST_HEAD\(([\w_]+)\)"), r"struct list_head \1"), | ||
| 201 | (KernRe(r"(?://.*)$"), ""), | 202 | (KernRe(r"(?://.*)$"), ""), |
| 202 | (KernRe(r"(?:/\*.*\*/)"), ""), | 203 | (KernRe(r"(?:/\*.*\*/)"), ""), |
| 203 | (KernRe(r";$"), ""), | 204 | (KernRe(r";$"), ""), |