git: ae18d76d618d - main - sc: Move prev_ysize under #ifndef SC_NO_HISTORY
Date: Wed, 13 Apr 2022 09:37:16 UTC
The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=ae18d76d618d93c298664e5f3b1cf1f31a47dafb commit ae18d76d618d93c298664e5f3b1cf1f31a47dafb Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2022-04-13 09:35:55 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2022-04-13 09:35:55 +0000 sc: Move prev_ysize under #ifndef SC_NO_HISTORY Finish fdf288f39. --- sys/dev/syscons/scvidctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c index 222ed253c3ee..a4ab6d034181 100644 --- a/sys/dev/syscons/scvidctl.c +++ b/sys/dev/syscons/scvidctl.c @@ -315,7 +315,9 @@ sc_set_pixel_mode(scr_stat *scp, struct tty *tp, int xsize, int ysize, video_info_t info; struct winsize wsz; u_char *font; +#ifndef SC_NO_HISTORY int prev_ysize; +#endif int error; int s;