[PATCH 2/4] libio: Assume _IO_MTSAFE_IO

Andreas Schwab schwab@linux-m68k.org
Thu May 27 21:38:19 GMT 2021


On Mai 27 2021, Adhemerval Zanella via Libc-alpha wrote:

> diff --git a/libio/ferror.c b/libio/ferror.c
> index 588f2eb50b..eef85c2602 100644
> --- a/libio/ferror.c
> +++ b/libio/ferror.c
> @@ -40,9 +40,4 @@ _IO_ferror (FILE *fp)
>    return result;
>  }
>  
> -weak_alias (_IO_ferror, ferror)
> -
> -#ifndef _IO_MTSAFE_IO
> -#undef ferror_unlocked
> -weak_alias (_IO_ferror, ferror_unlocked)
> -#endif
> +weak_alias (_IO_ferror, ferror)
> \ No newline at end of file

Please keep the newline.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list