Replace the block_found global with explicit data-flow
[deliverable/binutils-gdb.git] / gdb / solib-darwin.c
index f96841f051a6658de1f5ba38c1742bfad41e911f..2a33cd74ff9e4b17b77b31d34fc885a9859cecb1 100644 (file)
@@ -569,12 +569,12 @@ darwin_relocate_section_addresses (struct so_list *so,
     so->addr_low = sec->addr;
 }
 \f
-static struct symbol *
+static struct block_symbol
 darwin_lookup_lib_symbol (struct objfile *objfile,
                          const char *name,
                          const domain_enum domain)
 {
-  return NULL;
+  return (struct block_symbol) {NULL, NULL};
 }
 
 static bfd *
This page took 0.03324 seconds and 4 git commands to generate.