Minor stylistic changes
Showing
4 changed files
with
8 additions
and
8 deletions
... | @@ -44,9 +44,9 @@ extern int mu_iterator_set_getitem (mu_iterator_t, | ... | @@ -44,9 +44,9 @@ extern int mu_iterator_set_getitem (mu_iterator_t, |
44 | extern int mu_iterator_set_finished_p (mu_iterator_t, | 44 | extern int mu_iterator_set_finished_p (mu_iterator_t, |
45 | int (*finished_p) (void *)); | 45 | int (*finished_p) (void *)); |
46 | extern int mu_iterator_set_dup (mu_iterator_t itr, | 46 | extern int mu_iterator_set_dup (mu_iterator_t itr, |
47 | int (dup) (void **ptr, void *data)); | 47 | int (*dup) (void **ptr, void *data)); |
48 | extern int mu_iterator_set_destroy (mu_iterator_t itr, | 48 | extern int mu_iterator_set_destroy (mu_iterator_t itr, |
49 | int (destroy) (mu_iterator_t, void *data)); | 49 | int (*destroy) (mu_iterator_t, void *data)); |
50 | extern int mu_iterator_set_curitem_p (mu_iterator_t itr, | 50 | extern int mu_iterator_set_curitem_p (mu_iterator_t itr, |
51 | int (*curitem_p) (void *, void *)); | 51 | int (*curitem_p) (void *, void *)); |
52 | 52 | ... | ... |
... | @@ -90,7 +90,7 @@ mu_iterator_set_curitem_p (mu_iterator_t itr, | ... | @@ -90,7 +90,7 @@ mu_iterator_set_curitem_p (mu_iterator_t itr, |
90 | } | 90 | } |
91 | 91 | ||
92 | int | 92 | int |
93 | mu_iterator_set_destroy (mu_iterator_t itr, int (destroy) (mu_iterator_t, void *)) | 93 | mu_iterator_set_destroy (mu_iterator_t itr, int (*destroy) (mu_iterator_t, void *)) |
94 | { | 94 | { |
95 | if (!itr) | 95 | if (!itr) |
96 | return EINVAL; | 96 | return EINVAL; |
... | @@ -99,7 +99,7 @@ mu_iterator_set_destroy (mu_iterator_t itr, int (destroy) (mu_iterator_t, void * | ... | @@ -99,7 +99,7 @@ mu_iterator_set_destroy (mu_iterator_t itr, int (destroy) (mu_iterator_t, void * |
99 | } | 99 | } |
100 | 100 | ||
101 | int | 101 | int |
102 | mu_iterator_set_dup (mu_iterator_t itr, int (dup) (void **ptr, void *data)) | 102 | mu_iterator_set_dup (mu_iterator_t itr, int (*dup) (void **ptr, void *data)) |
103 | { | 103 | { |
104 | if (!itr) | 104 | if (!itr) |
105 | return EINVAL; | 105 | return EINVAL; | ... | ... |
... | @@ -116,8 +116,8 @@ mu_wicket_set_filename (mu_wicket_t wicket, const char *filename) | ... | @@ -116,8 +116,8 @@ mu_wicket_set_filename (mu_wicket_t wicket, const char *filename) |
116 | } | 116 | } |
117 | 117 | ||
118 | int | 118 | int |
119 | mu_wicket_set_ticket (mu_wicket_t wicket, int get_ticket | 119 | mu_wicket_set_ticket (mu_wicket_t wicket, int (*get_ticket) |
120 | (mu_wicket_t, const char *, const char *, mu_ticket_t *)) | 120 | (mu_wicket_t, const char *, const char *, mu_ticket_t *)) |
121 | { | 121 | { |
122 | if (wicket == NULL) | 122 | if (wicket == NULL) |
123 | return EINVAL; | 123 | return EINVAL; | ... | ... |
... | @@ -1109,7 +1109,7 @@ mhn_message_size (mu_message_t msg, size_t *psize) | ... | @@ -1109,7 +1109,7 @@ mhn_message_size (mu_message_t msg, size_t *psize) |
1109 | _get_content_encoding (hdr, &encoding); | 1109 | _get_content_encoding (hdr, &encoding); |
1110 | 1110 | ||
1111 | rc = mu_filter_create(&dstr, bstr, encoding, | 1111 | rc = mu_filter_create(&dstr, bstr, encoding, |
1112 | MU_FILTER_DECODE, MU_STREAM_READ); | 1112 | MU_FILTER_DECODE, MU_STREAM_READ); |
1113 | free (encoding); | 1113 | free (encoding); |
1114 | if (rc == 0) | 1114 | if (rc == 0) |
1115 | { | 1115 | { |
... | @@ -2025,7 +2025,7 @@ finish_text_msg (struct compose_env *env, mu_message_t *msg, int ascii) | ... | @@ -2025,7 +2025,7 @@ finish_text_msg (struct compose_env *env, mu_message_t *msg, int ascii) |
2025 | mu_message_get_body (*msg, &body); | 2025 | mu_message_get_body (*msg, &body); |
2026 | mu_body_get_stream (body, &input); | 2026 | mu_body_get_stream (body, &input); |
2027 | rc = mu_filter_create (&fstr, input, "quoted-printable", | 2027 | rc = mu_filter_create (&fstr, input, "quoted-printable", |
2028 | MU_FILTER_ENCODE, MU_STREAM_READ); | 2028 | MU_FILTER_ENCODE, MU_STREAM_READ); |
2029 | if (rc == 0) | 2029 | if (rc == 0) |
2030 | { | 2030 | { |
2031 | cat_message (output, fstr); | 2031 | cat_message (output, fstr); | ... | ... |
-
Please register or sign in to post a comment