projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the “I found my first real bug” commit.
[apps/madmutt.git]
/
init.h
diff --git
a/init.h
b/init.h
index
1966bd0
..
37e3112
100644
(file)
--- a/
init.h
+++ b/
init.h
@@
-63,11
+63,11
@@
#define R_RESORT_BOTH (R_RESORT|R_RESORT_SUB)
struct option_t {
#define R_RESORT_BOTH (R_RESORT|R_RESORT_SUB)
struct option_t {
- char *option;
+ c
onst c
har *option;
short type;
short flags;
unsigned long data;
short type;
short flags;
unsigned long data;
- c
har*
init;
+ c
onst char *
init;
};
#define UL (unsigned long)
};
#define UL (unsigned long)
@@
-122,7
+122,7
@@
struct option_t {
# endif
#endif
# endif
#endif
-struct option_t MuttVars[] = {
+struct option_t
const
MuttVars[] = {
/*++*/
{"abort_noattach", DT_QUAD, R_NONE, OPT_ATTACH, "no" },
/*
/*++*/
{"abort_noattach", DT_QUAD, R_NONE, OPT_ATTACH, "no" },
/*
@@
-4012,10
+4012,9
@@
static int parse_alternates (BUFFER *, BUFFER *, unsigned long, BUFFER *);
static int parse_unalternates (BUFFER *, BUFFER *, unsigned long, BUFFER *);
struct command_t {
static int parse_unalternates (BUFFER *, BUFFER *, unsigned long, BUFFER *);
struct command_t {
- char *name;
+ c
onst c
har *name;
int (*func) (BUFFER *, BUFFER *, unsigned long, BUFFER *);
unsigned long data;
int (*func) (BUFFER *, BUFFER *, unsigned long, BUFFER *);
unsigned long data;
- unsigned long data1;
};
struct command_t Commands[] = {
};
struct command_t Commands[] = {