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

Function do_warning_if

util/kconfig/preprocess.c:181–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181static char *do_warning_if(int argc, char *argv[])
182{
183 if (!strcmp(argv[0], "y"))
184 fprintf(stderr, "%s:%d: %s\n",
185 current_file->name, yylineno, argv[1]);
186
187 return xstrdup("");
188}
189
190static const struct function function_table[] = {
191 /* Name MIN MAX Function */

Callers

nothing calls this directly

Calls 3

fprintfFunction · 0.85
xstrdupFunction · 0.85
strcmpFunction · 0.50

Tested by

no test coverage detected