}
-static void init(struct output *o, int default_spl)
+static int init(struct output *o, int default_spl)
{
struct context *ctx;
struct probe *probe;
ctx->linebuf = calloc(1, num_probes * ctx->linebuf_len);
ctx->linevalues = calloc(1, num_probes);
+ return 0;
}
}
-static void init_binary(struct output *o)
+static int init_binary(struct output *o)
{
- init(o, DEFAULT_BPL_BIN);
+ return init(o, DEFAULT_BPL_BIN);
}
}
-static void init_hex(struct output *o)
+static int init_hex(struct output *o)
{
- init(o, DEFAULT_BPL_BIN);
+ return init(o, DEFAULT_BPL_BIN);
}