Index: lib700/bitrev.c
===================================================================
--- lib700/bitrev.c	(revision 5fa506d896e498d12ac5654951d3fb3c9924e8e2)
+++ lib700/bitrev.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -5,4 +5,6 @@
    =============================================================================
 */
+
+#include "all.h"
 
 static int16_t bitmask[] = {
Index: lib700/bitrev.x
===================================================================
--- lib700/bitrev.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ lib700/bitrev.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "stdint.h"
+
+/*
+   =============================================================================
+	bitrev.c -- global functions
+   =============================================================================
+*/
+
+extern	int16_t		bitrev(int16_t bitsin, int16_t nbits);
+
Index: lib700/ctype.c
===================================================================
--- lib700/ctype.c	(revision 5fa506d896e498d12ac5654951d3fb3c9924e8e2)
+++ lib700/ctype.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -14,5 +14,5 @@
 #define	_CTYPE_C
 
-#include "ctype.h"
+#include "all.h"
 
 #define	_CS	_C|_S
@@ -66,2 +66,3 @@
 };
 
+
Index: lib700/ctype.x
===================================================================
--- lib700/ctype.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ lib700/ctype.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "stdint.h"
+
+/*
+   =============================================================================
+	ctype.c -- global variables
+   =============================================================================
+*/
+
+extern	int8_t		__atab[];
+
+/*
+   =============================================================================
+	ctype.c -- global functions
+   =============================================================================
+*/
+
+extern	void		___atab(void);
+
Index: lib700/ispow2.c
===================================================================
--- lib700/ispow2.c	(revision 5fa506d896e498d12ac5654951d3fb3c9924e8e2)
+++ lib700/ispow2.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -11,5 +11,5 @@
 */
 
-#include "stddefs.h"
+#include "all.h"
 
 int16_t ispow2(int32_t x)
@@ -35,2 +35,3 @@
 	return(FALSE);			/* no bits on isn't a power of 2 */
 }
+
Index: lib700/ispow2.x
===================================================================
--- lib700/ispow2.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ lib700/ispow2.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "stdint.h"
+
+/*
+   =============================================================================
+	ispow2.c -- global functions
+   =============================================================================
+*/
+
+extern	int16_t		ispow2(int32_t x);
+
Index: lib700/mangle.c
===================================================================
--- lib700/mangle.c	(revision 5fa506d896e498d12ac5654951d3fb3c9924e8e2)
+++ lib700/mangle.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -20,4 +20,6 @@
 */
 
+#include "all.h"
+
 int32_t mangle(int32_t *bitmap, int16_t nb, int32_t ib)
 {
Index: lib700/mangle.x
===================================================================
--- lib700/mangle.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ lib700/mangle.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "stdint.h"
+
+/*
+   =============================================================================
+	mangle.c -- global functions
+   =============================================================================
+*/
+
+extern	int32_t		mangle(int32_t *bitmap, int16_t nb, int32_t ib);
+
Index: lib700/micons.c
===================================================================
--- lib700/micons.c	(revision 5fa506d896e498d12ac5654951d3fb3c9924e8e2)
+++ lib700/micons.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -23,4 +23,6 @@
    =============================================================================
 */
+
+#include "all.h"
 
 #define	TESTER	0	/* define non-zero for a test program */
@@ -72,5 +74,5 @@
 #if	TESTER
 
-#include "stdio.h"
+#include "all.h"
 
 /*
@@ -95,2 +97,3 @@
 
 #endif
+
Index: lib700/micons.x
===================================================================
--- lib700/micons.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ lib700/micons.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "stdint.h"
+
+/*
+   =============================================================================
+	micons.c -- global functions
+   =============================================================================
+*/
+
+extern	int16_t		miconi(int16_t wi);
+extern	int32_t		miconl(int32_t wi);
+extern	int16_t		micons(int16_t wi);
+
Index: lib700/tolower.c
===================================================================
--- lib700/tolower.c	(revision 5fa506d896e498d12ac5654951d3fb3c9924e8e2)
+++ lib700/tolower.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -6,5 +6,5 @@
 */
 
-#include "ctype.h"
+#include "all.h"
 
 /*
@@ -33,2 +33,3 @@
 }
 
+
Index: lib700/tolower.x
===================================================================
--- lib700/tolower.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ lib700/tolower.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "stdint.h"
+
+/*
+   =============================================================================
+	tolower.c -- global functions
+   =============================================================================
+*/
+
+extern	int16_t		tolower(int16_t c);
+
Index: lib700/toupper.c
===================================================================
--- lib700/toupper.c	(revision 5fa506d896e498d12ac5654951d3fb3c9924e8e2)
+++ lib700/toupper.c	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -6,5 +6,5 @@
 */
 
-#include "ctype.h"
+#include "all.h"
 
 /*
@@ -31,2 +31,3 @@
 	return(x);
 }
+
Index: lib700/toupper.x
===================================================================
--- lib700/toupper.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
+++ lib700/toupper.x	(revision 6262b5c7974b08ad57f56d797cf7106c80531276)
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "stdint.h"
+
+/*
+   =============================================================================
+	toupper.c -- global functions
+   =============================================================================
+*/
+
+extern	int16_t		toupper(int16_t c);
+
