| 631 | }; |
| 632 | |
| 633 | static void conf_write_heading(FILE *fp, const struct comment_style *cs) |
| 634 | { |
| 635 | if (!cs) |
| 636 | return; |
| 637 | |
| 638 | fprintf(fp, "%s\n", cs->prefix); |
| 639 | |
| 640 | fprintf(fp, "%s Automatically generated file; DO NOT EDIT.\n", |
| 641 | cs->decoration); |
| 642 | |
| 643 | fprintf(fp, "%s %s\n", cs->decoration, rootmenu.prompt->text); |
| 644 | |
| 645 | fprintf(fp, "%s\n", cs->postfix); |
| 646 | } |
| 647 | |
| 648 | /* The returned pointer must be freed on the caller side */ |
| 649 | static char *escape_string_value(const char *in) |
no outgoing calls
no test coverage detected