···7474 fwrite (d, dlen, 1, s->fpout);
7575}
76767777-void mutt_convert_to_state(iconv_t cd, char *bufi, size_t *l, STATE *s)
7777+static void mutt_convert_to_state(iconv_t cd, char *bufi, size_t *l, STATE *s)
7878{
7979 char bufo[BUFO_SIZE];
8080 ICONV_CONST char *ib;
···113113 *l = ibl;
114114}
115115116116-void mutt_decode_xbit (STATE *s, long len, int istext, iconv_t cd)
116116+static void mutt_decode_xbit (STATE *s, long len, int istext, iconv_t cd)
117117{
118118 int c, ch;
119119 char bufi[BUFI_SIZE];
···221221 *
222222 */
223223224224-void mutt_decode_quoted (STATE *s, long len, int istext, iconv_t cd)
224224+static void mutt_decode_quoted (STATE *s, long len, int istext, iconv_t cd)
225225{
226226 char line[STRING];
227227 char decline[2*STRING];
···357357 state_reset_prefix(s);
358358}
359359360360-unsigned char decode_byte (char ch)
360360+static unsigned char decode_byte (char ch)
361361{
362362 if (ch == 96)
363363 return 0;
364364 return ch - 32;
365365}
366366367367-void mutt_decode_uuencoded (STATE *s, long len, int istext, iconv_t cd)
367367+static void mutt_decode_uuencoded (STATE *s, long len, int istext, iconv_t cd)
368368{
369369 char tmps[SHORT_STRING];
370370 char linelen, c, l, out;
···787787 }
788788}
789789790790-int text_enriched_handler (BODY *a, STATE *s)
790790+static int text_enriched_handler (BODY *a, STATE *s)
791791{
792792 enum {
793793 TEXT, LANGLE, TAG, BOGUS_TAG, NEWLINE, ST_EOF, DONE
···10781078}
1079107910801080/* handles message/rfc822 body parts */
10811081-int message_handler (BODY *a, STATE *s)
10811081+static int message_handler (BODY *a, STATE *s)
10821082{
10831083 struct stat st;
10841084 BODY *b;
···11581158 return (0);
11591159}
1160116011611161-int multipart_handler (BODY *a, STATE *s)
11611161+static int multipart_handler (BODY *a, STATE *s)
11621162{
11631163 BODY *b, *p;
11641164 char length[5];
···12391239 return rc;
12401240}
1241124112421242-int autoview_handler (BODY *a, STATE *s)
12421242+static int autoview_handler (BODY *a, STATE *s)
12431243{
12441244 rfc1524_entry *entry = rfc1524_new_entry ();
12451245 char buffer[LONG_STRING];
+2-2
init.c
···7373static const char* myvar_get (const char* var);
7474static void myvar_del (const char* var);
75757676-void toggle_quadoption (int opt)
7676+static void toggle_quadoption (int opt)
7777{
7878 int n = opt/4;
7979 int b = (opt % 4) * 2;
···119119120120/* given the variable ``s'', return the index into the rc_vars array which
121121 matches, or -1 if the variable is not found. */
122122-int mutt_option_index (char *s)
122122+static int mutt_option_index (char *s)
123123{
124124 int i;
125125
+2-2
lib.c
···543543544544/* Create a temporary directory next to a file name */
545545546546-int mutt_mkwrapdir (const char *path, char *newfile, size_t nflen,
546546+static int mutt_mkwrapdir (const char *path, char *newfile, size_t nflen,
547547 char *newdir, size_t ndlen)
548548{
549549 const char *basename;
···618618 return rc;
619619}
620620621621-int mutt_put_file_in_place (const char *path, const char *safe_file, const char *safe_dir)
621621+static int mutt_put_file_in_place (const char *path, const char *safe_file, const char *safe_dir)
622622{
623623 int rv;
624624
···14841484}
1485148514861486/* Compares mime types to the ok and except lists */
14871487-int count_body_parts_check(LIST **checklist, BODY *b, int dflt)
14871487+static int count_body_parts_check(LIST **checklist, BODY *b, int dflt)
14881488{
14891489 LIST *type;
14901490 ATTACH_MATCH *a;
···15201520#define AT_COUNT(why) { shallcount = 1; }
15211521#define AT_NOCOUNT(why) { shallcount = 0; }
1522152215231523-int count_body_parts (BODY *body, int flags)
15231523+static int count_body_parts (BODY *body, int flags)
15241524{
15251525 int count = 0;
15261526 int shallcount, shallrecurse;