[PATCH] generic: Add missing parameter name to __getrandom_early_init
Sam James
sam@gentoo.org
Wed May 28 07:52:09 GMT 2025
Florian Weimer <fweimer@redhat.com> writes:
> This is required after commit 03da41d47dc73674307e6ffc5b75e9043febc698
> ("Turn on -Wmissing-parameter-name by default if available").
Nice to see it being useful.
Reviewed-by: Sam James <sam@gentoo.org>
>
> ---
> sysdeps/generic/getrandom-internal.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sysdeps/generic/getrandom-internal.h b/sysdeps/generic/getrandom-internal.h
> index 7c5419402c..4872598a67 100644
> --- a/sysdeps/generic/getrandom-internal.h
> +++ b/sysdeps/generic/getrandom-internal.h
> @@ -19,7 +19,7 @@
> #ifndef _GETRANDOM_INTERNAL_H
> #define _GETRANDOM_INTERNAL_H
>
> -static inline void __getrandom_early_init (_Bool)
> +static inline void __getrandom_early_init (_Bool initial)
> {
> }
>
>
> base-commit: c4dbd22b884eeea9401bfc53b7f741f0cd987975
More information about the Libc-alpha
mailing list