#include <ccan/noerr/noerr.h>
static void check_has_info(struct manifest *m,
- unsigned int *timeleft,
+ unsigned int *timeleft UNNEEDED,
struct score *score)
{
if (m->info_file) {
score->pass = true;
score->score = score->total;
- add_info_options(m->info_file);
+ add_info_options(m);
} else {
score->error = tal_strdup(score,
"You have no _info file.\n\n"
}
static const char template[] =
- "#include <string.h>\n"
"#include \"config.h\"\n"
+ "#include <stdio.h>\n"
+ "#include <string.h>\n"
"\n"
"/**\n"
" * %s - YOUR-ONE-LINE-DESCRIPTION-HERE\n"
" return 1;\n"
"}\n";
-static void create_info_template(struct manifest *m, struct score *score)
+static void create_info_template(struct manifest *m,
+ struct score *score UNNEEDED)
{
FILE *info;
const char *filename;