configure: allow adding compiler-specific warning flags
[babeltrace.git] / tests / plugins / flt.lttng-utils.debug-info / test_bin_info.c
index fec4142dd46d3900444a5ce3889eb7e5c7d73168..35cacfad621c03531eb507f74c59430ec0015d4c 100644 (file)
@@ -90,7 +90,7 @@ static GOptionEntry entries[] = {
         "XXXXXXXXXXXXXXX"},
        {"debug-info-dir", 0, 0, G_OPTION_ARG_STRING, &opt_debug_info_dir,
         "Debug info directory", NULL},
-       {NULL}};
+       {NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL}};
 
 static
 int build_id_to_bin(void)
@@ -172,7 +172,7 @@ void subtest_lookup_function_name(struct bin_info *bin, uint64_t addr,
 
 static
 void subtest_lookup_source_location(struct bin_info *bin, uint64_t addr,
-                                          uint64_t line_no, char *filename)
+                                          uint64_t line_no, const char *filename)
 {
        int ret;
        struct source_location *src_loc = NULL;
This page took 0.024297 seconds and 4 git commands to generate.