|
|
# Voodoo to partially fix broken upstream headers. | # Voodoo to partially fix broken upstream headers. |
# Issues with this function should go to plasmaroo. | # Issues with this function should go to plasmaroo. |
sed -i \ | sed -i \ |
-e "s/\([ "$'\t'"]\)\(u\|s\)\(8\|16\|32\|64\)\([ "$'\t'"]\)/\1__\2\3\4/g;" \ |
-e "s/\(__\)\?\([us]\(8\|16\|32\|64\)\)/__\2/g" \ |
-e 's/ \(u\|s\)\(8\|16\|32\|64\)$/ __\1\2/g' \ |
|
-e 's/\([(, ]\)\(u\|s\)64\([, )]\)/\1__\264\3/g' \ |
|
-e "s/^\(u\|s\)\(8\|16\|32\|64\)\([ "$'\t'"]\)/__\1\2\3/g;" \ |
|
-e "s/ inline / __inline__ /g" \ | -e "s/ inline / __inline__ /g" \ |
"$@" | "$@" |
} | } |