MCPcopy Create free account
hub / github.com/coreboot/coreboot / conf_write_heading

Function conf_write_heading

util/kconfig/confdata.c:646–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644};
645
646static 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 */
662static char *escape_string_value(const char *in)

Callers 2

conf_writeFunction · 0.85
__conf_write_autoconfFunction · 0.85

Calls 1

fprintfFunction · 0.85

Tested by

no test coverage detected