shithub: drawterm

Download patch

ref: f765c9e3a4a841b5b56662a280fe7f0d3d432a9c
parent: 001c653ef2089aef37c84617a6baeb25a0137335
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Nov 26 08:15:19 EST 2022

screen: Remove unused Screeninfo screen struct

--- a/gui-osx/screen.c
+++ b/gui-osx/screen.c
@@ -36,7 +36,6 @@
 RgnHandle gCursorRegionHdl;
 
 Memimage	*gscreen;
-Screeninfo	screen;
 
 static int readybit;
 static Rendez	rend;
--- a/gui-win32/screen.c
+++ b/gui-win32/screen.c
@@ -16,7 +16,6 @@
 #include "keyboard.h"
 
 Memimage	*gscreen;
-Screeninfo	screen;
 
 static int depth;
 
--- a/kern/screen.h
+++ b/kern/screen.h
@@ -29,17 +29,10 @@
 	uchar	set[2*16];
 };
 
-struct Screeninfo {
-	Lock	lk;
-	int	depth;
-	int	dibtype;
-};
-
 extern	Memimage *gscreen;
 extern	Mouseinfo mouse;
 extern	Cursorinfo cursor;
 extern	Cursorinfo arrow;
-extern	Screeninfo screen;
 
 void	screeninit(void);
 void	screenload(Rectangle, int, uchar *, Point, int);