mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user