video: Mark truetype_measure() static

This function is not used outside this file, so mark it static.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2023-10-01 19:13:35 -06:00 committed by Tom Rini
parent c4fea34fd0
commit 6d225ec0cc

View file

@ -718,8 +718,8 @@ static int truetype_select_font(struct udevice *dev, const char *name,
return 0;
}
int truetype_measure(struct udevice *dev, const char *name, uint size,
const char *text, struct vidconsole_bbox *bbox)
static int truetype_measure(struct udevice *dev, const char *name, uint size,
const char *text, struct vidconsole_bbox *bbox)
{
struct console_tt_metrics *met;
stbtt_fontinfo *font;