aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSimon Glass2023-10-01 19:13:35 -0600
committerTom Rini2023-10-11 15:43:55 -0400
commit6d225ec0cc5251c540164b4303261d29f0ade644 (patch)
treeb03b44c862849365d7e1d71c14ebdfac247ff0b9 /drivers/video
parentc4fea34fd00defedf625b73375814f8a3362537a (diff)
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>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/console_truetype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/console_truetype.c b/drivers/video/console_truetype.c
index 242b8b71342..14fb81e9563 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;