Refactor star scheme of pointers
To achieve a consistent scheme, all stars of the pointers should be on the side of the variable and not on the side of the type. wrong: char* a wrong: char * a good: char *a This commit is generated by the following sed command with manual fixes of all false positives. find src \( -name '*.c' -or -name '*.h' \) -print0 | xargs -0 -n1 sed -i 's/\([a-zA-Z]\+[-_a-zA-Z0-9]*\)\s*\*\s\+ \([a-zA-Z]\+[-_a-zA-Z0-9]*\)/\1 *\2/g'
This commit is contained in:
parent
aae003d023
commit
759aa518d5