The branch main has been updated by tsoome:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8c1dda11711ec0dba5b34291d29a360029e6fdf6

commit 8c1dda11711ec0dba5b34291d29a360029e6fdf6
Author:     Toomas Soome <[email protected]>
AuthorDate: 2021-01-04 21:29:43 +0000
Commit:     Toomas Soome <[email protected]>
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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to