- if (score->error)
- return 0;
- total += score->info_example;
- total += score->header_example;
- return total;
-}
-
-static const char *describe_examples(struct manifest *m,
- void *check_result)
-{
- struct score *score = check_result;
- char *descrip = NULL;
-
- if (score->error)
- return score->error;
-
- if (!score->info_example)
- descrip = talloc_asprintf(score,
- "Your _info file has no module example.\n\n"
- "There should be an Example: section of the _info documentation\n"
- "which provides a concise toy program which uses your module\n");