#include <tools/ccanlint/ccanlint.h>
#include <tools/tools.h>
-#include <ccan/talloc/talloc.h>
#include <ccan/str/str.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#include "reduce_features.h"
-static const char *can_run(struct manifest *m)
+static const char *can_run(struct manifest *m UNNEEDED)
{
if (safe_mode)
return "Safe mode enabled";
}
static void compile_test_helpers(struct manifest *m,
- unsigned int *timeleft,
+ unsigned int *timeleft UNNEEDED,
struct score *score,
const char *flags,
enum compile_type ctype)
REGISTER_TEST(tests_helpers_compile);
-static const char *features_reduced(struct manifest *m)
+static const char *features_reduced(struct manifest *m UNNEEDED)
{
if (features_were_reduced)
return NULL;
{
char *flags;
- flags = talloc_asprintf(score, "%s %s", cflags,
- REDUCE_FEATURES_FLAGS);
+ flags = tal_fmt(score, "%s %s", cflags, REDUCE_FEATURES_FLAGS);
compile_test_helpers(m, timeleft, score, flags, COMPILE_NOFEAT);
}