From f0d776c9fa5a69bc41d4e6131c7d082471edb452 Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Wed, 6 Nov 2019 11:15:48 +0200 Subject: [PATCH] *call_tree --- srcxray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcxray.py b/srcxray.py index 79ee202..7088f59 100755 --- a/srcxray.py +++ b/srcxray.py @@ -558,7 +558,7 @@ def cflow_preprocess(a): s = re.sub(r"^const ", "", s) s = re.sub(r"\b__initdata\b", "", s) s = re.sub(r"DEFINE_PER_CPU\((.*),(.*)\)", r"\1 \2", s) - # __attribute__ + s = re.sub(r"^(\w+) {$", r"void \1() {", s) # for line in sys.stdin: sys.stdout.write(s)