Index: vlib/cg2.c
===================================================================
--- vlib/cg2.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/cg2.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -1,3 +1,3 @@
-#include "all.h"
+#include "ram.h"
 
 /* Character generator table -- 12V by 8H */
Index: vlib/cg3.c
===================================================================
--- vlib/cg3.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/cg3.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -3,5 +3,5 @@
 /* Generated:  1989-11-16  15:40:14 */
 
-#include "all.h"
+#include "ram.h"
 
 /* int16_t	cg_rows = 14; */
Index: vlib/glcinit.c
===================================================================
--- vlib/glcinit.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/glcinit.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -59,5 +59,5 @@
 */
 
-#include "all.h"
+#include "ram.h"
 
 uint16_t	lcdbase;	/* LCD graphics base address */
Index: vlib/lseg.c
===================================================================
--- vlib/lseg.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/lseg.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -7,5 +7,5 @@
 */
 
-#include "all.h"
+#include "ram.h"
 
 void   (*point)(int16_t x, int16_t y, int16_t pen);
Index: vlib/vbfill4.c
===================================================================
--- vlib/vbfill4.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vbfill4.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -8,5 +8,5 @@
 */
 
-#include "all.h"
+#include "ram.h"
 
 static int16_t	fm[] = {	/* fill masks */
Index: vlib/vclrs.c
===================================================================
--- vlib/vclrs.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vclrs.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -16,5 +16,5 @@
 */
 
-#include "all.h"
+#include "ram.h"
 
 /*
Index: vlib/vhinit.c
===================================================================
--- vlib/vhinit.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vhinit.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -16,10 +16,7 @@
 #define	FASTCHIP	1	/* non-zero if it's the fast VSDD chip */
 
-#include "all.h"
+#include "ram.h"
 
 #define	VREG(h,v)	((h<<10)|v)
-
-extern	int16_t	cgtable[][256];
-extern	int16_t	cg_rows;
 
 struct octent	v_obtab[16];	/* object control table */
Index: vlib/vmput.c
===================================================================
--- vlib/vmput.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vmput.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -19,5 +19,5 @@
 */
 
-#include "all.h"
+#include "ram.h"
 
 /*
Index: vlib/vobjfns.c
===================================================================
--- vlib/vobjfns.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vobjfns.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -53,11 +53,5 @@
 */
 
-#include "all.h"
-
-extern	void	vbank(uint16_t b);
-extern	void	objon(uint16_t obj, uint16_t line, uint16_t num);
-extern	void	VIint(void);
-
-extern	uint16_t setipl(uint16_t arg);
+#include "ram.h"
 
 int16_t		wsize;		/* object width calculated by SetObj() */
Index: vlib/vputs.c
===================================================================
--- vlib/vputs.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vputs.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -12,7 +12,5 @@
 */
 
-#include "all.h"
-
-extern	void	vputc(uint16_t *sbase, uint16_t row, uint16_t col, uint16_t c, uint16_t attrib);
+#include "ram.h"
 
 /*
Index: vlib/vputsv.c
===================================================================
--- vlib/vputsv.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vputsv.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -12,7 +12,5 @@
 */
 
-#include "all.h"
-
-extern	void	vputcv(uint16_t *adr, uint16_t row, uint16_t col, uint8_t chr, uint16_t atr, uint16_t cols);
+#include "ram.h"
 
 /*
Index: vlib/vsetpal.c
===================================================================
--- vlib/vsetpal.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vsetpal.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -6,5 +6,5 @@
 */
 
-#include "all.h"
+#include "ram.h"
 
 #define	PALETTE		((uint16_t *)0x280000L)
Index: vlib/vsinit.c
===================================================================
--- vlib/vsinit.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vsinit.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -7,5 +7,5 @@
 */
 
-#include "all.h"
+#include "ram.h"
 
 /*
Index: vlib/vspray4.c
===================================================================
--- vlib/vspray4.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vspray4.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -6,5 +6,5 @@
 */
 
-#include "all.h"
+#include "ram.h"
 
 static 	int8_t cl[81];
Index: vlib/vtext.c
===================================================================
--- vlib/vtext.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vtext.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -8,5 +8,5 @@
 */
 
-#include "all.h"
+#include "ram.h"
 
 static int16_t	msk[] = { 0xFF00, 0x00FF };
Index: vlib/vwputm.c
===================================================================
--- vlib/vwputm.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ vlib/vwputm.c	(revision b28a12ef97b945387f5b106a616f46d89ccff6b6)
@@ -16,7 +16,5 @@
 */
 
-#include "all.h"
-
-extern	void	vwputs(int16_t *obase, int16_t nw, int16_t fg, int16_t bg, int16_t row, int16_t col, int8_t *str);
+#include "ram.h"
 
 /*
