From 20082f59c2001bab6a2c917ae94406725e6fcfd9 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 8 Oct 2006 11:28:21 +0000 Subject: - fix build for gcc41 Obtained from: Andreas Jochens (debian) --- news/cnews/files/patch-trbatch | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 news/cnews/files/patch-trbatch (limited to 'news/cnews/files') diff --git a/news/cnews/files/patch-trbatch b/news/cnews/files/patch-trbatch new file mode 100644 index 000000000000..9e4065e4dfa7 --- /dev/null +++ b/news/cnews/files/patch-trbatch @@ -0,0 +1,51 @@ +--- 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") -- cgit v1.2.3