]> granicus.if.org Git - neomutt/commitdiff
fix some definitions
authorRichard Russon <rich@flatcap.org>
Thu, 12 Jul 2018 22:16:29 +0000 (23:16 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 16 Jul 2018 22:38:22 +0000 (23:38 +0100)
conn/conn_raw.c
history.c
main.c
remailer.c
remailer.h

index 02b67fd06c597bda28efc152034127cee7ac519b..cc1b8a5c6c2392c2403a300aa96905fcb94a9453 100644 (file)
@@ -49,9 +49,6 @@
 #include "options.h"
 #include "protos.h"
 
-/* These Config Variables are only used in conn/conn_raw.c */
-extern bool UseIpv6;
-
 /**
  * socket_connect - set up to connect to a socket fd
  * @param fd File descriptor to connect with
index e494d14aaec0093c4b33b5b6884cd50563d5178b..dbb767877a61910f91e3f42e86f1f0969eaee1ec 100644 (file)
--- a/history.c
+++ b/history.c
 #include "protos.h"
 
 /* These Config Variables are only used in history.c */
-short History;
-char *HistoryFile;
-bool HistoryRemoveDups;
-short SaveHistory;
+short History;          /**< Number of history entries stored in memory */
+char *HistoryFile;      /**< File in which to store all the histories */
+bool HistoryRemoveDups; /**< Remove duplicate history entries */
+short SaveHistory; /**< Number of history entries, per category, stored on disk */
 
 #define HC_FIRST HC_CMD
 
@@ -117,11 +117,6 @@ static const struct Mapping HistoryHelp[] = {
 
 /* global vars used for the string-history routines */
 
-short History;          /**< Number of history entries stored in memory */
-char *HistoryFile;      /**< File in which to store all the histories */
-bool HistoryRemoveDups; /**< Remove duplicate history entries */
-short SaveHistory; /**< Number of history entries, per category, stored on disk */
-
 static struct History Histories[HC_LAST];
 static int OldSize = 0;
 
diff --git a/main.c b/main.c
index a5754e6024c00b14bd6052e806e50ba8af5d2a24..3dfc1722ab2234143a45ac93a2cf400fe8d5bf1d 100644 (file)
--- a/main.c
+++ b/main.c
@@ -81,9 +81,6 @@
 #include "nntp/nntp.h"
 #endif
 
-/* These Config Variables are only used in main.c */
-extern bool ResumeEditedDraftFiles;
-
 #define MUTT_IGNORE (1 << 0)  /* -z */
 #define MUTT_BUFFY (1 << 1)   /* -Z */
 #define MUTT_NOSYSRC (1 << 2) /* -n */
index 6b4013690cd6ffa6df85464b12011fcb9d61f8d6..a304fa1c219b06be7dfa33457e11ac4c939e299b 100644 (file)
 char *MixEntryFormat;
 char *Mixmaster;
 
+#define MIX_CAP_COMPRESS (1 << 0)
+#define MIX_CAP_MIDDLEMAN (1 << 1)
+#define MIX_CAP_NEWSPOST (1 << 2)
+#define MIX_CAP_NEWSMAIL (1 << 3)
+
 /**
  * struct Coord - Screen coordinates
  */
index fde04af3ffc138da876069382d83e45b6a32f393..714149bc4b492f25387fc72df26498f1d042c725 100644 (file)
@@ -34,11 +34,6 @@ struct Header;
 extern char *MixEntryFormat;
 extern char *Mixmaster;
 
-#define MIX_CAP_COMPRESS  (1 << 0)
-#define MIX_CAP_MIDDLEMAN (1 << 1)
-#define MIX_CAP_NEWSPOST  (1 << 2)
-#define MIX_CAP_NEWSMAIL  (1 << 3)
-
 /* Mixmaster's maximum chain length.  Don't change this. */
 
 #define MAXMIXES 19