mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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 (cherry picked from commit 6faf55c86d9b86f40de8d19970e42cb42a892c47)
This commit is contained in:
parent
bcb0e17d35
commit
204a5c85ab
5 changed files with 5 additions and 5 deletions
|
|
@ -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 a new issue