From: Simon Glass Date: Mon, 2 Oct 2023 01:13:35 +0000 (-0600) Subject: video: Mark truetype_measure() static X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-favicon.png?a=commitdiff_plain;h=6d225ec0cc5251c540164b4303261d29f0ade644;p=u-boot.git video: Mark truetype_measure() static This function is not used outside this file, so mark it static. Signed-off-by: Simon Glass --- diff --git a/drivers/video/console_truetype.c b/drivers/video/console_truetype.c index 242b8b7134..14fb81e956 100644 --- a/drivers/video/console_truetype.c +++ b/drivers/video/console_truetype.c @@ -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;