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

(cherry picked from commit 6faf55c86d9b86f40de8d19970e42cb42a892c47)
This commit is contained in:
Warner Losh 2024-02-23 21:22:08 -07:00
parent bcb0e17d35
commit 204a5c85ab
5 changed files with 5 additions and 5 deletions

View file

@ -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 *

View file

@ -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
}

View file

@ -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)
{
}

View file

@ -254,6 +254,6 @@ static void ficlCompileGfx(FICL_SYSTEM *pSys)
FICL_COMPILE_SET(ficlCompileGfx);
void
gfx_interp_md(void)
gfx_interp_ref(void)
{
}

View file

@ -242,7 +242,7 @@ luaopen_gfx(lua_State *L)
}
void
gfx_interp_md(void)
gfx_interp_ref(void)
{
}