Dave Levin gave ok to relaxing cpplint's filetype filter so that it also does .c files, with Adam Treat stating that it produces reasonable results when testing it on a some of the files. So here it comes! This patch enables cpplint for .c files, and in turn disables the check for NULL occurrences for .c files (and .m files, to be reasonable safe for the future).
Created attachment 33329 [details] Enable cpplint for .c files
Comment on attachment 33329 [details] Enable cpplint for .c files Good stuff, although I think we should remove the .cc file ending as that is not used in WebKit to my knowledge. Anyways, another patch.
Sorry for not mentioning it before, but you may want to also fix this line in check_webkit_style 101 if file_extension in ['.cc', '.cpp', '.h']:
Landed with r46269.