git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4fea34
)
video: Mark truetype_measure() static
author
Simon Glass
<sjg@chromium.org>
Mon, 2 Oct 2023 01:13:35 +0000
(19:13 -0600)
committer
Tom Rini
<trini@konsulko.com>
Wed, 11 Oct 2023 19:43:55 +0000
(15:43 -0400)
This function is not used outside this file, so mark it static.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/console_truetype.c
patch
|
blob
|
history
diff --git
a/drivers/video/console_truetype.c
b/drivers/video/console_truetype.c
index
242b8b7
..
14fb81e
100644
(file)
--- 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;