GNU indent - formats and beautifies C source code
C code prettifier
indent
$ indent myfile.c
$ indent -linux file1.c file2.c
$ indent -linux myfile.c -o formatted_output.c