Index: iolib/dofmt.c
===================================================================
--- iolib/dofmt.c	(revision bfc0072417012e9cf8877387e0040d6245a99117)
+++ iolib/dofmt.c	(revision 0c834c599f225d78f3cee559f0421011b124be6d)
@@ -38,13 +38,9 @@
 
 #if	CRUFTY
-extern	long	uldiv();
+extern	long	uldiv(long divid, long divis);
 extern	long	uldivr;
 #endif
 
-long
-dofmt_(putsub, format, args)
-register int (*putsub)();
-register char *format;
-va_list args;
+long dofmt_(int (*putsub)(), char *format, va_list args)
 {
 	register int fcode;
Index: iolib/mdump.c
===================================================================
--- iolib/mdump.c	(revision bfc0072417012e9cf8877387e0040d6245a99117)
+++ iolib/mdump.c	(revision 0c834c599f225d78f3cee559f0421011b124be6d)
@@ -39,8 +39,5 @@
 */
 
-static
-pipc(chars, length)
-char chars[];
-int length;
+static void pipc(char chars[], int length)
 {
 	int	i;
@@ -63,7 +60,5 @@
 */
 
-mdump(begin, end, start)
-char *begin, *end;
-long start;
+void mdump(char *begin, char *end, long start)
 {
 	long	i, ii;
Index: iolib/pause.c
===================================================================
--- iolib/pause.c	(revision bfc0072417012e9cf8877387e0040d6245a99117)
+++ iolib/pause.c	(revision 0c834c599f225d78f3cee559f0421011b124be6d)
@@ -8,8 +8,8 @@
 #include "biosdefs.h"
 
-extern	int	waitcr(), writeln();
+extern	int	waitcr(void);
+extern	void	writeln(int unit, char *buf);
 
-pause(s)
-char *s;
+void pause(char *s)
 {
 	writeln(CON_DEV, s);
Index: iolib/printf.c
===================================================================
--- iolib/printf.c	(revision bfc0072417012e9cf8877387e0040d6245a99117)
+++ iolib/printf.c	(revision 0c834c599f225d78f3cee559f0421011b124be6d)
@@ -17,7 +17,7 @@
 #include "stdarg.h"
 
-extern	long	dofmt_();
+extern	long	dofmt_(int (*putsub)(), char *format, va_list args);
 
-static	int	fpsub();
+	static int fpsub(int c);
 
 /*
@@ -44,8 +44,5 @@
 */
 
-static
-int
-fpsub(c)
-int c;
+static int fpsub(int c)
 {
 	/* KLUDGE:  since we aren't Unix(tm) we prepend a CR to LF's */
Index: iolib/rawio.c
===================================================================
--- iolib/rawio.c	(revision bfc0072417012e9cf8877387e0040d6245a99117)
+++ iolib/rawio.c	(revision 0c834c599f225d78f3cee559f0421011b124be6d)
@@ -69,11 +69,5 @@
 
 
-int
-readln(unit,nc,ctl,nb,buf)
-int unit;
-int nc;
-char *ctl;
-int nb;
-char *buf;
+int readln(int unit, int nc, char *ctl, int nb, char *buf)
 {
 	register char *cp;
@@ -110,9 +104,5 @@
  */
 
-int
-getln(unit,nb,buf)
-int unit;
-int nb;
-char *buf;
+int getln(int unit, int nb, char *buf)
 {
 	register char *bp;
@@ -179,9 +169,5 @@
  */
 
-int
-getrln(unit,nb,buf)
-int unit;
-int nb;
-char *buf;
+int getrln(int unit, int nb, char *buf)
 {
 	register char *bp;
@@ -226,7 +212,5 @@
  */
 
-writeln(unit,buf)
-int unit;
-char *buf;
+void writeln(int unit, char *buf)
 {
 	register char *bp;
Index: iolib/sprintf.c
===================================================================
--- iolib/sprintf.c	(revision bfc0072417012e9cf8877387e0040d6245a99117)
+++ iolib/sprintf.c	(revision 0c834c599f225d78f3cee559f0421011b124be6d)
@@ -8,8 +8,8 @@
 #include "stdarg.h"
 
-extern long	dofmt_();
+extern	long	dofmt_(int (*putsub)(), char *format, va_list args);
 
 static char	*buff;
-static int	spsub();
+	static int spsub(char c);
 
 /*
@@ -38,8 +38,5 @@
 */
 
-static
-int
-spsub(c)
-char c;
+static int spsub(char c)
 {
 	return((*buff++ = c) & 0xFF);
Index: iolib/waitcr.c
===================================================================
--- iolib/waitcr.c	(revision bfc0072417012e9cf8877387e0040d6245a99117)
+++ iolib/waitcr.c	(revision 0c834c599f225d78f3cee559f0421011b124be6d)
@@ -9,5 +9,5 @@
 #include "stddefs.h"
 
-extern	int	xtrap15();	/* the ROMP trap */
+extern	void	xtrap15(void);
 
 /*
@@ -21,6 +21,5 @@
 */
 
-int
-waitcr()
+int waitcr(void)
 {
 	int	c;
