in reply to Is there a Ctidy?

How about GNU indent ? It has a fair variety of reformatting options (not just indentation)