git: a27c1350e43a - main - loader: Make vidc_biosputchar static

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 14 Feb 2024 18:36:01 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=a27c1350e43a863fbe2bf0927ef762a20babe5d5

commit a27c1350e43a863fbe2bf0927ef762a20babe5d5
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-02-14 18:07:10 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-02-14 18:22:57 +0000

    loader: Make vidc_biosputchar static
    
    It's currently unused outside of vidconsole.c. Gerald Hicks' fix to the
    beep code from de37e4a6d2333/1998 introduced the funciton as
    static. Maxim Sobolev (sobomax) made it non-static since his spinconsole
    called it in c4c3b35172d67/2009. When sobomax dropped the direct call
    after making spinconsole console independent in b35172d67/2017,
    vidc_biosputchar remained a harmless unreferenced global. Make it static
    once again.
    
    Fixes:          c7e10205ae0d
    Sponsored by:   Netflix
---
 stand/i386/libi386/vidconsole.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/i386/libi386/vidconsole.c b/stand/i386/libi386/vidconsole.c
index aec41a6373d6..f8a6bf34acad 100644
--- a/stand/i386/libi386/vidconsole.c
+++ b/stand/i386/libi386/vidconsole.c
@@ -1046,7 +1046,7 @@ vidc_init(int arg)
 	return (0);	/* XXX reinit? */
 }
 
-void
+static void
 vidc_biosputchar(int c)
 {