#ifndef _MUTT_HCACHE_H
#define _MUTT_HCACHE_H
-#if USE_HCACHE
+#ifdef USE_HCACHE
void *mutt_hcache_open(const char *path, const char *folder);
void mutt_hcache_close(void *db);
HEADER *mutt_hcache_restore(const unsigned char *d, HEADER **oh);
#define SW (option(OPTMBOXPANE)?SidebarWidth:0)
-extern int Charset_is_utf8; /* FIXME: bad modularisation */
-
extern size_t UngetCount;
static void print_enriched_string (int attr, unsigned char *s, int do_color)
return (args);
}
-static char **add_option(const char **args, size_t * argslen, size_t * argsmax,
- const char *s)
+static const char **
+add_option(const char **args, size_t *argslen, size_t *argsmax, const char *s)
{
if (*argslen == *argsmax) {
mem_realloc(&args, (*argsmax += 5) * sizeof (char *));
int eightbit)
{ /* message contains 8bit chars */
char *ps = NULL, *path = NULL, *s = NULL, *childout = NULL;
- char **args = NULL;
+ const char **args = NULL;
size_t argslen = 0, argsmax = 0;
int i;
if (!option (OPTNEWSSEND)) {
#endif
if (eightbit && option (OPTUSE8BITMIME))
- args = add_option (args, &argslen, &argsmax, "-B8BITMIME");
+ args = add_option(args, &argslen, &argsmax, "-B8BITMIME");
if (option (OPTENVFROM)) {
ADDRESS *f = NULL;