Messages in this thread | | | Date | Sun, 15 Nov 2009 23:54:25 +0100 (CET) | From | Julia Lawall <> | Subject | Re: [PATCH] sysctl.c: Change a .proc_handler = proc_dointvec to &proc_dointvec, |
| |
On Sun, 15 Nov 2009, Arnd Bergmann wrote:
> On Sunday 15 November 2009 20:40:25 Julia Lawall wrote: > > It would be possible to count the number of occurrences in a given file, > > and then change the ones that have the less popular format, or a format > > that occurs less than some percentage of time. > > How many of the 600 files use both formats?
This time I considered only cases where the function is defined in the same file, not where the function is presented only as a prototype. I get:
502 files that use both options 83 files that only use & for function pointers 9374 files that never use & for function pointers
(Only files that use at least one of the options are considered.)
julia
| |