aboutsummaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-02-24 04:22:08 +0000
committerWarner Losh <imp@FreeBSD.org>2024-02-24 04:22:08 +0000
commit6faf55c86d9b86f40de8d19970e42cb42a892c47 (patch)
tree96636c4bc47cdc36806b92e96281bc2a04251ba2 /stand
parent48698ead6ff0640098e6aecdd5cbf6ea8f5ac177 (diff)
downloadsrc-6faf55c86d9b86f40de8d19970e42cb42a892c47.tar.gz
src-6faf55c86d9b86f40de8d19970e42cb42a892c47.zip
loader: rename gfx_interp_md to gfx_interp_ref
We have the call to gfx_interp_ref to bring in the .o so that we get the linker set item to add the language bindings at the right time. Where we call it is not the right time... So the _ref name is better. Change it before we have too many others like it. Sponsored by: Netflix
Diffstat (limited to 'stand')
-rw-r--r--stand/common/gfx_fb.c2
-rw-r--r--stand/common/gfx_fb.h2
-rw-r--r--stand/common/interp_simple.c2
-rw-r--r--stand/ficl/gfx_loader.c2
-rw-r--r--stand/liblua/gfx_utils.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/stand/common/gfx_fb.c b/stand/common/gfx_fb.c
index 3a5b851915e0..0a88a166089b 100644
--- a/stand/common/gfx_fb.c
+++ b/stand/common/gfx_fb.c
@@ -181,7 +181,7 @@ gfx_framework_init(void)
* Setup font list to have builtin font.
*/
(void) insert_font(NULL, FONT_BUILTIN);
- gfx_interp_md(); /* Draw in the gfx interpreter for this thing */
+ gfx_interp_ref(); /* Draw in the gfx interpreter for this thing */
}
static uint8_t *
diff --git a/stand/common/gfx_fb.h b/stand/common/gfx_fb.h
index 84062864c57f..17e419d8ffd3 100644
--- a/stand/common/gfx_fb.h
+++ b/stand/common/gfx_fb.h
@@ -281,7 +281,7 @@ void term_image_display(teken_gfx_t *, const teken_rect_t *);
void reset_font_flags(void);
-void gfx_interp_md(void);
+void gfx_interp_ref(void);
#ifdef __cplusplus
}
diff --git a/stand/common/interp_simple.c b/stand/common/interp_simple.c
index d64c0d27b97f..d675da0aa61e 100644
--- a/stand/common/interp_simple.c
+++ b/stand/common/interp_simple.c
@@ -202,6 +202,6 @@ interp_include(const char *filename)
* There's no graphics commands for the simple interpreter.
*/
void
-gfx_interp_md(void)
+gfx_interp_ref(void)
{
}
diff --git a/stand/ficl/gfx_loader.c b/stand/ficl/gfx_loader.c
index a4501a7d3c39..4ac69e3c9895 100644
--- a/stand/ficl/gfx_loader.c
+++ b/stand/ficl/gfx_loader.c
@@ -254,6 +254,6 @@ static void ficlCompileGfx(FICL_SYSTEM *pSys)
FICL_COMPILE_SET(ficlCompileGfx);
void
-gfx_interp_md(void)
+gfx_interp_ref(void)
{
}
diff --git a/stand/liblua/gfx_utils.c b/stand/liblua/gfx_utils.c
index 8d2aaacbd688..301cd9cb8610 100644
--- a/stand/liblua/gfx_utils.c
+++ b/stand/liblua/gfx_utils.c
@@ -242,7 +242,7 @@ luaopen_gfx(lua_State *L)
}
void
-gfx_interp_md(void)
+gfx_interp_ref(void)
{
}