mips: fix void*/gdb_byte* compilation errors
[deliverable/binutils-gdb.git] / gdb / solib-darwin.c
index f96841f051a6658de1f5ba38c1742bfad41e911f..876ca8cfce25d56547db3dcebfd6bd7c53679a86 100644 (file)
@@ -96,7 +96,8 @@ get_darwin_info (void)
 {
   struct darwin_info *info;
 
-  info = program_space_data (current_program_space, solib_darwin_pspace_data);
+  info = (struct darwin_info *) program_space_data (current_program_space,
+                                                   solib_darwin_pspace_data);
   if (info != NULL)
     return info;
 
@@ -569,12 +570,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.034543 seconds and 4 git commands to generate.