Fix the gdb build with GCC 7
[deliverable/binutils-gdb.git] / bfd / pef.h
index 4d80648ccc8ff4e14765a9732b566035148b52d3..c2c85b002c2bf7ff4decfe32b6b3e39e28c6cf53 100644 (file)
--- a/bfd/pef.h
+++ b/bfd/pef.h
@@ -1,6 +1,5 @@
 /* PEF support for BFD.
-   Copyright 1999, 2000, 2001, 2002, 2007
-   Free Software Foundation, Inc.
+   Copyright (C) 1999-2019 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -19,6 +18,7 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
+#include "sysdep.h"
 #include "bfd.h"
 
 #include <stdio.h>
@@ -79,7 +79,7 @@ enum bfd_pef_imported_library_options
 
 struct bfd_pef_imported_symbol
 {
-  unsigned char class;
+  unsigned char symbol_class;
   unsigned long name;
 };
 typedef struct bfd_pef_imported_symbol bfd_pef_imported_symbol;
@@ -182,6 +182,6 @@ int  bfd_pef_print_loader_section   (bfd *, FILE *);
 void bfd_pef_print_loader_header    (bfd *, bfd_pef_loader_header *, FILE *);
 int  bfd_pef_parse_imported_library (bfd *, unsigned char *, size_t, bfd_pef_imported_library *);
 int  bfd_pef_parse_imported_symbol  (bfd *, unsigned char *, size_t, bfd_pef_imported_symbol *);
-int  bfd_pef_scan_section           (bfd *, bfd_pef_section *);
-int  bfd_pef_scan_start_address     (bfd *);
-int  bfd_pef_scan                   (bfd *, bfd_pef_header *, bfd_pef_data_struct *);
+int  bfd_pef_scan_section          (bfd *, bfd_pef_section *);
+int  bfd_pef_scan_start_address            (bfd *);
+int  bfd_pef_scan                  (bfd *, bfd_pef_header *, bfd_pef_data_struct *);
This page took 0.030946 seconds and 4 git commands to generate.