]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: Make vidc_biosputchar static
authorWarner Losh <imp@FreeBSD.org>
Wed, 14 Feb 2024 18:07:10 +0000 (11:07 -0700)
committerWarner Losh <imp@FreeBSD.org>
Wed, 14 Feb 2024 18:22:57 +0000 (11:22 -0700)
commita27c1350e43a863fbe2bf0927ef762a20babe5d5
tree56545f7c2b8abeed5bdd45f3137854eaa3e2bf21
parent62a52c15422470f97fc7b311d89c83f910bcc1b1
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