--- include/trbatch.h.orig	Fri Dec 17 00:17:03 1993
+++ include/trbatch.h	Sun Oct  8 11:23:50 2006
@@ -23,12 +23,12 @@
 };
 
 /* imports from trbatch.c */
-extern struct batchfile *bfopen(), *bfisopen();
-extern statust bffkclose(), bfrealclose();
+extern struct batchfile *bfopen();
+extern statust bffkclose();
 extern int bfflush();
 /* imports from trbatcomm.c */
-extern statust bfclose(), bfrclose();
-extern struct batchfile *bfincache(), *fakebf();
+extern statust bfclose();
+extern struct batchfile *fakebf();
 
 extern struct batchfile batchfile[];	/* try to keep open always */
 #define lastbf &batchfile[NOPENBFS-1]
--- explode/trbatch.c.orig	Wed Nov 30 23:09:10 1994
+++ explode/trbatch.c	Sun Oct  8 11:22:03 2006
@@ -23,6 +23,9 @@
 
 static HASHTABLE *nmbftbl;		/* name -> batchfile mapping */
 
+static struct batchfile *bfisopen(char *name), *bfincache(char *name);
+static statust bfrealclose(), bfrclose();
+
 /*
  * open "name" for appending.
  *
@@ -86,7 +89,7 @@
 /*
  * returns a batchfile, never NULL, corresponding to name.
  */
-struct batchfile *
+static struct batchfile *
 bfincache(name)
 char *name;
 {
--- relay/trbatch.c.orig	Fri Jan 15 05:27:11 1993
+++ relay/trbatch.c	Sun Oct  8 11:24:34 2006
@@ -14,6 +14,8 @@
 #include "msgs.h"
 #include "trbatch.h"
 
+static struct batchfile *bfincache(char *name, int ord);
+
 /* tunable parameters */
 #ifndef MASTERDIR
 #define MASTERDIR artfile("out.master")
