uncrustify next time you need to stylize your c like application. Their website gives a short, concise summary of what it does. Check it out here: uncrustify on sourceforge.
It’s also highly configurable via the uncrustify.cfg config file.
uncrustify -c uncrustify.cfg -f source_file.c
You should be able to install it using
yum, depending on your Linux distribution.