mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-13 05:41:26 +01:00
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
This commit is contained in:
parent
48698ead6f
commit
6faf55c86d
@ -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 *
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
@ -254,6 +254,6 @@ static void ficlCompileGfx(FICL_SYSTEM *pSys)
|
||||
FICL_COMPILE_SET(ficlCompileGfx);
|
||||
|
||||
void
|
||||
gfx_interp_md(void)
|
||||
gfx_interp_ref(void)
|
||||
{
|
||||
}
|
||||
|
@ -242,7 +242,7 @@ luaopen_gfx(lua_State *L)
|
||||
}
|
||||
|
||||
void
|
||||
gfx_interp_md(void)
|
||||
gfx_interp_ref(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user