well this is a GNU tool... by default it formats the code as the GNU coding standards, but you can use parameters to specify your favorite style
Precompiled for Windows:
http://prdownloads.sourceforge.net/g...n.zip?download
Source code (for use in GNU/Linux or other UNIXes, but also buildable with MinGW+MSYS, just "./configure;make;make install"):
http://www.gnu.org/software/indent/
A specific warning: it has a bug which just mess up your inline asm... so you need to check all of asms after using it