apply clang-format on C source files