proc-events.c: fix compilation on Solaris
[deliverable/binutils-gdb.git] / gdb / coff-pe-read.c
index 65004c095c8c7f8a4795ec74d7d5f281babd2d4c..3f89977b130547d275f3a36a0659519924a891e8 100644 (file)
@@ -2,7 +2,7 @@
    convert to internal format, for GDB. Used as a last resort if no
    debugging symbols recognized.
 
-   Copyright (C) 2003-2017 Free Software Foundation, Inc.
+   Copyright (C) 2003-2018 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -54,7 +54,7 @@ struct read_pe_section_data
   enum minimal_symbol_type ms_type;    /* Type to assign symbols in
                                           section.  */
   unsigned int index;          /* BFD section number.  */
-  char *section_name;          /* Recorded section name.  */
+  const char *section_name;    /* Recorded section name.  */
 };
 
 #define IMAGE_SCN_CNT_CODE 0x20
@@ -698,10 +698,6 @@ show_debug_coff_pe_read (struct ui_file *file, int from_tty,
   fprintf_filtered (file, _("Coff PE read debugging is %s.\n"), value);
 }
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-
-void _initialize_coff_pe_read (void);
-
 /* Adds "Set/show debug coff_pe_read" commands.  */
 
 void
This page took 0.024478 seconds and 4 git commands to generate.