projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
hcache.c
diff --git
a/hcache.c
b/hcache.c
index
dea409e
..
eea6d20
100644
(file)
--- a/
hcache.c
+++ b/
hcache.c
@@
-40,6
+40,9
@@
#include <errno.h>
#include <fcntl.h>
#include <errno.h>
#include <fcntl.h>
+#if HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#include "mutt.h"
#ifdef USE_IMAP
#include "message.h"
#include "mutt.h"
#ifdef USE_IMAP
#include "message.h"
@@
-136,6
+139,7
@@
dump_char(char *c, unsigned char *d, int *off)
return d;
}
return d;
}
+#if 0
static unsigned char *
dump_char_size(char *c, unsigned char *d, int *off, ssize_t size)
{
static unsigned char *
dump_char_size(char *c, unsigned char *d, int *off, ssize_t size)
{
@@
-152,6
+156,7
@@
dump_char_size(char *c, unsigned char *d, int *off, ssize_t size)
return d;
}
return d;
}
+#endif
static void
restore_char(char **c, const unsigned char *d, int *off)
static void
restore_char(char **c, const unsigned char *d, int *off)
@@
-251,6
+256,7
@@
restore_list(LIST **l, const unsigned char *d, int *off)
*l = NULL;
}
*l = NULL;
}
+#if 0
static unsigned char *
dump_buffer(BUFFER *b, unsigned char *d, int *off)
{
static unsigned char *
dump_buffer(BUFFER *b, unsigned char *d, int *off)
{
@@
-287,6
+293,7
@@
restore_buffer(BUFFER **b, const unsigned char *d, int *off)
restore_int(& (*b)->dsize, d, off);
restore_int((unsigned int *) & (*b)->destroy, d, off);
}
restore_int(& (*b)->dsize, d, off);
restore_int((unsigned int *) & (*b)->destroy, d, off);
}
+#endif
static unsigned char *
dump_parameter(PARAMETER *p, unsigned char *d, int *off)
static unsigned char *
dump_parameter(PARAMETER *p, unsigned char *d, int *off)