summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-01-13 07:45:50 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-01-13 07:45:50 +0000
commit3073846bcf53bfae27ce3f3e829250d6c5f50d05 (patch)
treea5bf2df041753e8bfbe2e32801fc67e9681cef58
parent822535edf4b160d9f023fd2026c824ef061f4ea5 (diff)
Clean up dependencies: remailer.h is no longer included by mutt.h,
and the mix_* prototypes can once again go to remailer.h.
-rw-r--r--mutt.h4
-rw-r--r--protos.h11
-rw-r--r--remailer.h4
-rw-r--r--send.c3
4 files changed, 6 insertions, 16 deletions
diff --git a/mutt.h b/mutt.h
index d9f35149..a8f31d22 100644
--- a/mutt.h
+++ b/mutt.h
@@ -48,10 +48,6 @@
# define N_(a) a
#endif
-#ifdef MIXMASTER
-# include "remailer.h"
-#endif
-
#ifdef SUBVERSION
# define MUTT_VERSION (VERSION SUBVERSION)
#else
diff --git a/protos.h b/protos.h
index 96142c26..531dac7a 100644
--- a/protos.h
+++ b/protos.h
@@ -434,14 +434,3 @@ void ci_bounce_message (HEADER *, int *);
void ci_send_message (int, HEADER *, char *, CONTEXT *, HEADER *);
-
-#ifdef MIXMASTER
-/* mixmaster support - must go here so we get the
- * type definitions in the right order.
- */
-
-
-int mix_send_message (LIST *, const char *);
-int mix_check_message (HEADER *msg);
-void mix_make_chain (LIST **, int *);
-#endif
diff --git a/remailer.h b/remailer.h
index 57050ec9..b722b082 100644
--- a/remailer.h
+++ b/remailer.h
@@ -55,7 +55,9 @@ struct mixchain
typedef struct mixchain MIXCHAIN;
-/* function prototypes are in protos.h */
+int mix_send_message (LIST *, const char *);
+int mix_check_message (HEADER *msg);
+void mix_make_chain (LIST **, int *);
#endif /* MIXMASTER */
diff --git a/send.c b/send.c
index c9fded20..592dd361 100644
--- a/send.c
+++ b/send.c
@@ -38,6 +38,9 @@
#include "pgp.h"
#endif
+#ifdef MIXMASTER
+#include "remailer.h"
+#endif
static void append_signature (FILE *f)