C linter

Does anybody use / know of a good C linter / formatter? I want the equivalent of gofmt for Go or Rubocop for Ruby
I have used clang-format a lot. It's is pretty nice, you can configure it to your liking and it has integration into ton of a IDE's/editors.
Awesome, thanks for the tip.

On my mac I was able to `brew install clang-format` then run `clang-format -style=Google -i *.c` to format all my C files with Google's style rules.