aboutsummaryrefslogtreecommitdiff
path: root/bfd/init.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-10-16 09:01:55 +1030
committerAlan Modra <amodra@gmail.com>2018-10-16 09:03:41 +1030
commit0e0dd7f1e8b64efff9a981d0421ffeaeff70cd20 (patch)
tree06d1577a0c18166677206e0af9b41dd31ad01899 /bfd/init.c
parent933e62b1c17b1cf396f8bf8e17a066d03226533e (diff)
downloadgdb-0e0dd7f1e8b64efff9a981d0421ffeaeff70cd20.zip
gdb-0e0dd7f1e8b64efff9a981d0421ffeaeff70cd20.tar.gz
gdb-0e0dd7f1e8b64efff9a981d0421ffeaeff70cd20.tar.bz2
Re: BFD_INIT_MAGIC
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.
Diffstat (limited to 'bfd/init.c')
-rw-r--r--bfd/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/init.c b/bfd/init.c
index ad10981..971d322 100644
--- a/bfd/init.c
+++ b/bfd/init.c
@@ -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;