*
*/
-void mutt_decode_quoted (STATE * s, long len, int istext, iconv_t cd)
+static void mutt_decode_quoted (STATE * s, long len, int istext, iconv_t cd)
{
char line[STRING];
char decline[2 * STRING];
state_reset_prefix (s);
}
-unsigned char decode_byte (char ch)
+static unsigned char decode_byte (char ch)
{
if (ch == 96)
return 0;
return ch - 32;
}
-void mutt_decode_uuencoded (STATE * s, long len, int istext, iconv_t cd)
+static void mutt_decode_uuencoded (STATE * s, long len, int istext, iconv_t cd)
{
char tmps[SHORT_STRING];
char linelen, c, l, out;
}
}
-int text_enriched_handler (BODY * a, STATE * s)
+static int text_enriched_handler (BODY * a, STATE * s)
{
enum {
TEXT, LANGLE, TAG, BOGUS_TAG, NEWLINE, ST_EOF, DONE
#include <lib-hash/hash.h>
#include <lib-mime/mime.h>
+#include <imap/message.h>
+
#include "charset.h"
#include "mutt.h"
-#include <imap/message.h>
-#include "mx.h"
-#include "lib.h"
+#include "hcache.h"
struct header_cache {
#if defined(HAVE_QDBM)
int nntp_check_children (CONTEXT *, const char *);
void nntp_buffy (char* dst, ssize_t dstlen);
void nntp_expand_path (char *, ssize_t, ACCOUNT *);
-void nntp_logout_all ();
+void nntp_logout_all(void);
const char *nntp_format_str (char *, ssize_t, char, const char *, const char *,
const char *, const char *, unsigned long,
format_flag);
#include <unistd.h>
#include <string.h>
-void print_usage (const char *progname)
+static void print_usage (const char *progname)
{
fprintf (stderr, "Command line usage: %s [flags] -- prefix [recipients]\n",
progname);
}
}
}
-
-/*
- * The mutt_gettext () defined in gettext.c requires iconv,
- * so we do without charset conversion here.
- */
-
-char *mutt_gettext (const char *message)
-{
- return (char *) message;
-}