BFD whitespace fixes
[deliverable/binutils-gdb.git] / bfd / libnlm.h
index 7b81dc1aaaeec552232510c568fd9b02b1fd4831..f96e58e35d6f308196215ce5d2c73f1293d7e60e 100644 (file)
@@ -1,12 +1,12 @@
 /* BFD back-end data structures for NLM (NetWare Loadable Modules) files.
-   Copyright 1993, 1994, 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1993-2017 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
    This file is part of BFD, the Binary File Descriptor library.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
@@ -16,7 +16,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02110-1301, USA.  */
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+   MA 02110-1301, USA.  */
 
 #ifndef _LIBNLM_H_
 #define _LIBNLM_H_ 1
@@ -52,19 +53,19 @@ typedef struct
   struct nlm_relent *relocs;
 } nlmNAME(symbol_type);
 
-extern bfd_boolean        nlm_mkobject                    (bfd *);
-extern bfd_boolean        nlm_set_arch_mach               (bfd *, enum bfd_architecture, unsigned long);
-extern void               nlmNAME (get_symbol_info)       (bfd *, asymbol *, symbol_info *);
-extern long               nlmNAME (get_symtab_upper_bound)(bfd *);
-extern long               nlmNAME (canonicalize_symtab)   (bfd *, asymbol **);
-extern asymbol *          nlmNAME (make_empty_symbol)     (bfd *);
-extern void               nlmNAME (print_symbol)          (bfd *, void *, asymbol *, bfd_print_symbol_type);
-extern long               nlmNAME (get_reloc_upper_bound) (bfd *, asection *);
-extern long               nlmNAME (canonicalize_reloc)    (bfd *, asection *, arelent **, asymbol **);
-extern const bfd_target * nlmNAME (object_p)              (bfd *);
-extern bfd_boolean        nlmNAME (set_arch_mach)         (bfd *, enum bfd_architecture, unsigned long);
-extern bfd_boolean        nlmNAME (set_section_contents)  (bfd *, asection *, const void *, file_ptr, bfd_size_type);
-extern bfd_boolean        nlmNAME (write_object_contents) (bfd *);
+extern bfd_boolean       nlm_mkobject                    (bfd *);
+extern bfd_boolean       nlm_set_arch_mach               (bfd *, enum bfd_architecture, unsigned long);
+extern void              nlmNAME (get_symbol_info)       (bfd *, asymbol *, symbol_info *);
+extern long              nlmNAME (get_symtab_upper_bound)(bfd *);
+extern long              nlmNAME (canonicalize_symtab)   (bfd *, asymbol **);
+extern asymbol *         nlmNAME (make_empty_symbol)     (bfd *);
+extern void              nlmNAME (print_symbol)          (bfd *, void *, asymbol *, bfd_print_symbol_type);
+extern long              nlmNAME (get_reloc_upper_bound) (bfd *, asection *);
+extern long              nlmNAME (canonicalize_reloc)    (bfd *, asection *, arelent **, asymbol **);
+extern const bfd_target * nlmNAME (object_p)             (bfd *);
+extern bfd_boolean       nlmNAME (set_arch_mach)         (bfd *, enum bfd_architecture, unsigned long);
+extern bfd_boolean       nlmNAME (set_section_contents)  (bfd *, asection *, const void *, file_ptr, bfd_size_type);
+extern bfd_boolean       nlmNAME (write_object_contents) (bfd *);
 
 /* Some private data is stashed away for future use using the tdata pointer
    in the bfd structure.  */
@@ -191,24 +192,24 @@ struct nlm_backend_data
 };
 
 #define nlm_backend(bfd)   ((struct nlm_backend_data *)((bfd) -> xvec -> backend_data))
-#define nlm_signature(bfd)                 (nlm_backend (bfd) -> signature)
-#define nlm_fixed_header_size(bfd)         (nlm_backend (bfd) -> fixed_header_size)
-#define nlm_optional_prefix_size(bfd)      (nlm_backend (bfd) -> optional_prefix_size)
-#define nlm_architecture(bfd)              (nlm_backend (bfd) -> arch)
-#define nlm_machine(bfd)                   (nlm_backend (bfd) -> mach)
-#define nlm_no_uninitialized_data(bfd)     (nlm_backend (bfd) -> no_uninitialized_data)
-#define nlm_backend_object_p_func(bfd)     (nlm_backend (bfd) -> nlm_backend_object_p)
-#define nlm_write_prefix_func(bfd)         (nlm_backend (bfd) -> nlm_write_prefix)
-#define nlm_read_reloc_func(bfd)           (nlm_backend (bfd) -> nlm_read_reloc)
-#define nlm_mangle_relocs_func(bfd)        (nlm_backend (bfd) -> nlm_mangle_relocs)
-#define nlm_read_import_func(bfd)          (nlm_backend (bfd) -> nlm_read_import)
-#define nlm_write_import_func(bfd)         (nlm_backend (bfd) -> nlm_write_import)
+#define nlm_signature(bfd)                (nlm_backend (bfd) -> signature)
+#define nlm_fixed_header_size(bfd)        (nlm_backend (bfd) -> fixed_header_size)
+#define nlm_optional_prefix_size(bfd)     (nlm_backend (bfd) -> optional_prefix_size)
+#define nlm_architecture(bfd)             (nlm_backend (bfd) -> arch)
+#define nlm_machine(bfd)                  (nlm_backend (bfd) -> mach)
+#define nlm_no_uninitialized_data(bfd)    (nlm_backend (bfd) -> no_uninitialized_data)
+#define nlm_backend_object_p_func(bfd)    (nlm_backend (bfd) -> nlm_backend_object_p)
+#define nlm_write_prefix_func(bfd)        (nlm_backend (bfd) -> nlm_write_prefix)
+#define nlm_read_reloc_func(bfd)          (nlm_backend (bfd) -> nlm_read_reloc)
+#define nlm_mangle_relocs_func(bfd)       (nlm_backend (bfd) -> nlm_mangle_relocs)
+#define nlm_read_import_func(bfd)         (nlm_backend (bfd) -> nlm_read_import)
+#define nlm_write_import_func(bfd)        (nlm_backend (bfd) -> nlm_write_import)
 #define nlm_set_public_section_func(bfd)   (nlm_backend (bfd) -> nlm_set_public_section)
-#define nlm_get_public_offset_func(bfd)    (nlm_backend (bfd) -> nlm_get_public_offset)
+#define nlm_get_public_offset_func(bfd)           (nlm_backend (bfd) -> nlm_get_public_offset)
 #define nlm_swap_fixed_header_in_func(bfd) (nlm_backend (bfd) -> nlm_swap_fhdr_in)
 #define nlm_swap_fixed_header_out_func(bfd)(nlm_backend (bfd) -> nlm_swap_fhdr_out)
-#define nlm_write_external_func(bfd)       (nlm_backend (bfd) -> nlm_write_external)
-#define nlm_write_export_func(bfd)         (nlm_backend (bfd) -> nlm_write_export)
+#define nlm_write_external_func(bfd)      (nlm_backend (bfd) -> nlm_write_external)
+#define nlm_write_export_func(bfd)        (nlm_backend (bfd) -> nlm_write_export)
 
 /* The NLM code, data, and uninitialized sections have no names defined
    in the NLM, but bfd wants to give them names, so use the traditional
This page took 0.027333 seconds and 4 git commands to generate.