[PATCH] msvcrt: Make __acrt_iob_func() static.

Jacek Caban jacek at codeweavers.com
Thu May 9 07:14:02 CDT 2019


Hi Francois,

On 5/9/19 10:59 AM, Francois Gouget wrote:
> Signed-off-by: Francois Gouget <fgouget at free.fr>
> ---
>   dlls/msvcrt/iob.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/msvcrt/iob.c b/dlls/msvcrt/iob.c
> index c02913b45ab..f8d46ad6e46 100644
> --- a/dlls/msvcrt/iob.c
> +++ b/dlls/msvcrt/iob.c
> @@ -30,7 +30,7 @@ extern MSVCRT_FILE * CDECL __p__iob(void);
>   /*********************************************************************
>    *		__acrt_iob_func(UCRTBASE.@)
>    */
> -MSVCRT_FILE * CDECL __acrt_iob_func(unsigned idx)
> +static MSVCRT_FILE * CDECL __acrt_iob_func(unsigned idx)
>   {
>       return __p__iob() + idx;
>   }


This is part of a static library and I think that it's intentionally not 
static.


Jacek




More information about the wine-devel mailing list