239
Comment: to make the page linkable
|
586
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
Here are a few tips how to find unnecessary (void*) conversions. | Here are a few tips and scripts how to find unnecessary (void*) conversions. == Find (void*) functions == |
Line 7: | Line 9: |
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 }}} |
(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