Date: Mon, 4 Jan 2021 22:52:20 GMT From: Toomas Soome <tsoome@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 8c1dda11711e - main - loader: vidc_load_palette() does not need arguments Message-ID: <202101042252.104MqKfl041961@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tsoome: URL: https://cgit.FreeBSD.org/src/commit/?id=8c1dda11711ec0dba5b34291d29a360029e6fdf6 commit 8c1dda11711ec0dba5b34291d29a360029e6fdf6 Author: Toomas Soome <tsoome@FreeBSD.org> AuthorDate: 2021-01-04 21:29:43 +0000 Commit: Toomas Soome <tsoome@FreeBSD.org> CommitDate: 2021-01-04 22:49:08 +0000 loader: vidc_load_palette() does not need arguments Remove left over argument from vidc_load_palette. --- stand/i386/libi386/vidconsole.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stand/i386/libi386/vidconsole.c b/stand/i386/libi386/vidconsole.c index b4829db1ea42..c0da698d2d96 100644 --- a/stand/i386/libi386/vidconsole.c +++ b/stand/i386/libi386/vidconsole.c @@ -620,7 +620,7 @@ env_screen_nounset(struct env_var *ev __unused) } static int -vidc_load_palette(uint32_t *cmap) +vidc_load_palette(void) { int i, roff, goff, boff, rc; @@ -932,7 +932,7 @@ cons_update_mode(bool use_gfx_mode) gfx_state.tg_fb.fb_mask_blue >> boff, boff); if (gfx_state.tg_ctype == CT_INDEXED) - vidc_load_palette(cmap); + vidc_load_palette(); teken_set_winsize(&gfx_state.tg_teken, &gfx_state.tg_tp); a = teken_get_defattr(&gfx_state.tg_teken);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101042252.104MqKfl041961>