563
Comment:
|
586
|
Deletions are marked like this. | Additions are marked like this. |
Line 16: | Line 16: |
Another script has an embedded list of such function names (after the __END__), or can take such names on the commandline: | Another script has an embedded list of such function names (after the _END_), or can take such names on the commandline: attachment:type-convs.pl |
(void*) conversions
Here are a few tips and scripts how to find unnecessary (void*) conversions.
Find (void*) functions
Here's a script that finds all functions returning (void*): attachment:find_voidp_funcs.pl
Example:
./find_voidp_funcs.pl linux-2.6.git/
Finding assignments
Another script has an embedded list of such function names (after the _END_), or can take such names on the commandline: attachment:type-convs.pl
Example:
./find_voidp_funcs.pl linux-2.6.git kmalloc