Re: BFD_INIT_MAGIC
authorAlan Modra <amodra@gmail.com>
Mon, 15 Oct 2018 22:31:55 +0000 (09:01 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 15 Oct 2018 22:33:41 +0000 (09:03 +1030)
I should know better than to introduce the first use of size_t in
bfd.h.

PR 23534
* init.c (bfd_init): Return an unsigned int.
bfd-in2.h: Regenerate.

bfd/ChangeLog
bfd/bfd-in2.h
bfd/init.c

index 9e0f1242651bc80af045eb6921379b97c84916f3..5031fff93d1a299b5a1c309c84dcdb559cb46c67 100644 (file)
@@ -1,3 +1,9 @@
+2018-10-16  Alan Modra  <amodra@gmail.com>
+
+       PR 23534
+       * init.c (bfd_init): Return an unsigned int.
+       bfd-in2.h: Regenerate.
+
 2018-10-15  Alan Modra  <amodra@gmail.com>
 
        PR 23534
index beb695a18bc56d9c73991c3b276268902315c0b2..ee8cd7ef0bf8b114b3786db152d1e6aeb7aa13cd 100644 (file)
@@ -1080,7 +1080,7 @@ extern void elf32_csky_next_input_section
 extern int elf32_csky_setup_section_lists
   (bfd *, struct bfd_link_info *);
 /* Extracted from init.c.  */
-size_t bfd_init (void);
+unsigned int bfd_init (void);
 
 
 /* Value returned by bfd_init.  */
index ad109819314e00d83debd21735fdfa85f675211a..971d32236a16daa00bd6f035e7231f3457a8a569 100644 (file)
@@ -38,7 +38,7 @@ FUNCTION
        bfd_init
 
 SYNOPSIS
-       size_t bfd_init (void);
+       unsigned int bfd_init (void);
 
 DESCRIPTION
        This routine must be called before any other BFD function to
@@ -54,7 +54,7 @@ DESCRIPTION
 /* Actually, there is currently nothing for this function to do.
    However, someday it may be needed, so keep it around.  */
 
-size_t
+unsigned int
 bfd_init (void)
 {
   return BFD_INIT_MAGIC;
This page took 0.035878 seconds and 4 git commands to generate.