Skip to content

Commit

Permalink
fix some definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
flatcap committed Jul 16, 2018
1 parent 8f6d251 commit 8b15b25
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 20 deletions.
3 changes: 0 additions & 3 deletions conn/conn_raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 4 additions & 9 deletions history.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@
#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

Expand All @@ -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;

Expand Down
3 changes: 0 additions & 3 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
5 changes: 5 additions & 0 deletions remailer.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
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
*/
Expand Down
5 changes: 0 additions & 5 deletions remailer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b15b25

Please sign in to comment.