{
int ret = 0;
gint exit_status;
- char *argv[] = {parser_path, trace_path, "-o", "dummy", NULL};
+ const char *argv[] = {parser_path, trace_path, "-o", "dummy", NULL};
if (!parser_path || !trace_path) {
ret = -1;
}
if (!g_spawn_sync(NULL,
- argv,
+ (gchar **) argv,
NULL,
G_SPAWN_STDOUT_TO_DEV_NULL,
NULL,
}
static
-void type_field_tests()
+void type_field_tests(void)
{
struct bt_ctf_field *uint_12;
struct bt_ctf_field *int_16;