Work around GCC 6.3.1 bug
[deliverable/binutils-gdb.git] / gdb / nto-tdep.c
index f9959ca9e0da7b16cfebed207b4136e08e523d95..27bd19124a3021149fbde4dbede847f5776b131d 100644 (file)
@@ -142,7 +142,7 @@ nto_find_and_open_solib (const char *solib, unsigned o_flags,
       if (temp_pathname)
        {
          if (ret >= 0)
-           *temp_pathname = gdb_realpath (arch_path);
+           *temp_pathname = gdb_realpath (arch_path).release ();
          else
            *temp_pathname = NULL;
        }
@@ -533,9 +533,6 @@ nto_inferior_data (struct inferior *const inferior)
   return inf_data;
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_nto_tdep;
-
 void
 _initialize_nto_tdep (void)
 {
This page took 0.024017 seconds and 4 git commands to generate.