# void(void) func;
# ) wrong and removes the space between type and variable. Fix this by
# a simple sed on ")letter" which should normally not occur.
- sed -e 's/)\([A-Za-z0-9]\)/) \1/g' "$@"
+ sed -e 's/)\([A-Za-z_]\)/) \1/g' "$@"
}
if [ -z "$UNCRUSTIFY_CONFIG" ]; then
fix_function_types
;;
*)
- uncrustify --replace --no-backup -c "$UNCRUSTIFY_CONFIG" "$@" &&\
+ uncrustify --replace --no-backup -c "$UNCRUSTIFY_CONFIG" "$@" ;\
fix_function_types -i "$@"
;;
esac