On Fri, Mar 13, 2020 at 06:33:28PM +0200, Andy Shevchenko wrote: ... > Just for (generic) headers: > > $ git grep -n '[a-z_0-9]([^)]*\bconst [^)]\+)' -- include | wc -l > 4342 > > $ git grep -n '[a-z_0-9]([^)]\+)' -- include | wc -l > 69672 Just to point out the above is rough estimation, the real one probably feasible by using coccinelle. -- With Best Regards, Andy Shevchenko