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.
This commit is contained in:
Alan Modra
2018-10-16 09:01:55 +10:30
parent 933e62b1c1
commit 0e0dd7f1e8
3 changed files with 9 additions and 3 deletions

View 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;