| 644 | }; |
| 645 | |
| 646 | static void conf_write_heading(FILE *fp, const struct comment_style *cs) |
| 647 | { |
| 648 | if (!cs) |
| 649 | return; |
| 650 | |
| 651 | fprintf(fp, "%s\n", cs->prefix); |
| 652 | |
| 653 | fprintf(fp, "%s Automatically generated file; DO NOT EDIT.\n", |
| 654 | cs->decoration); |
| 655 | |
| 656 | fprintf(fp, "%s %s\n", cs->decoration, rootmenu.prompt->text); |
| 657 | |
| 658 | fprintf(fp, "%s\n", cs->postfix); |
| 659 | } |
| 660 | |
| 661 | /* The returned pointer must be freed on the caller side */ |
| 662 | static char *escape_string_value(const char *in) |
no test coverage detected