Milos Nikic, le lun. 23 juin 2025 20:07:08 +0100, a ecrit:
> Compiler warns about it, and its only invoked from this file.

Applied, thanks!

> ---
>  i386/i386/ldt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/i386/i386/ldt.c b/i386/i386/ldt.c
> index 5db36426..7db67f99 100644
> --- a/i386/i386/ldt.c
> +++ b/i386/i386/ldt.c
> @@ -54,7 +54,7 @@ struct real_descriptor ldt[LDTSZ];
>  #define USER_SEGMENT_SIZEBITS SZ_32
>  #endif
>  
> -void
> +static void
>  ldt_fill(struct real_descriptor *myldt, struct real_descriptor *mygdt)
>  {
>  #ifdef       MACH_PV_DESCRIPTORS
> -- 
> 2.40.1
> 
> 

-- 
Samuel
quit   When the quit statement is read, the  bc  processor
       is  terminated, regardless of where the quit state-
       ment is found.  For example, "if  (0  ==  1)  quit"
       will cause bc to terminate.
(Seen in the manpage for "bc". Note the "if" statement's logic)

Reply via email to