clangformat everything
This commit is contained in:
@@ -60,11 +60,12 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
// Write the header of the output file
|
||||
fprintf(out_file, "/**\n"
|
||||
" * @file %s\n"
|
||||
" * @brief Linked list file system (llfs) data file.\n"
|
||||
" * This file was generated by mkllfs %s.\n"
|
||||
" * @date %s\n */\n\n",
|
||||
fprintf(out_file,
|
||||
"/**\n"
|
||||
" * @file %s\n"
|
||||
" * @brief Linked list file system (llfs) data file.\n"
|
||||
" * This file was generated by mkllfs %s.\n"
|
||||
" * @date %s\n */\n\n",
|
||||
argv[argc - 1], VERSION, __DATE__);
|
||||
|
||||
// Write the headers of the output file
|
||||
@@ -125,7 +126,8 @@ int main(int argc, char** argv) {
|
||||
|
||||
// Make the last file the root file of the llfs
|
||||
fprintf(out_file, "\n");
|
||||
fprintf(out_file, "const struct llfs_data_file *llfs_root =%s%s;\n", (strcmp(prev_llfs_name, "NULL") == 0 ? " " : " &"), prev_llfs_name);
|
||||
fprintf(out_file, "const struct llfs_data_file *llfs_root =%s%s;\n",
|
||||
(strcmp(prev_llfs_name, "NULL") == 0 ? " " : " &"), prev_llfs_name);
|
||||
|
||||
// Print the number of files
|
||||
printf("Successfully converted %d files.\r\n", file_count);
|
||||
|
||||
Reference in New Issue
Block a user