Commit b668931a b668931a2b516f6e97baae8c390a24c7f43c03a6 by Sergey Poznyakoff

Minor stylistic changes

1 parent c976a20f
......@@ -44,9 +44,9 @@ extern int mu_iterator_set_getitem (mu_iterator_t,
extern int mu_iterator_set_finished_p (mu_iterator_t,
int (*finished_p) (void *));
extern int mu_iterator_set_dup (mu_iterator_t itr,
int (dup) (void **ptr, void *data));
int (*dup) (void **ptr, void *data));
extern int mu_iterator_set_destroy (mu_iterator_t itr,
int (destroy) (mu_iterator_t, void *data));
int (*destroy) (mu_iterator_t, void *data));
extern int mu_iterator_set_curitem_p (mu_iterator_t itr,
int (*curitem_p) (void *, void *));
......
......@@ -90,7 +90,7 @@ mu_iterator_set_curitem_p (mu_iterator_t itr,
}
int
mu_iterator_set_destroy (mu_iterator_t itr, int (destroy) (mu_iterator_t, void *))
mu_iterator_set_destroy (mu_iterator_t itr, int (*destroy) (mu_iterator_t, void *))
{
if (!itr)
return EINVAL;
......@@ -99,7 +99,7 @@ mu_iterator_set_destroy (mu_iterator_t itr, int (destroy) (mu_iterator_t, void *
}
int
mu_iterator_set_dup (mu_iterator_t itr, int (dup) (void **ptr, void *data))
mu_iterator_set_dup (mu_iterator_t itr, int (*dup) (void **ptr, void *data))
{
if (!itr)
return EINVAL;
......
......@@ -116,8 +116,8 @@ mu_wicket_set_filename (mu_wicket_t wicket, const char *filename)
}
int
mu_wicket_set_ticket (mu_wicket_t wicket, int get_ticket
(mu_wicket_t, const char *, const char *, mu_ticket_t *))
mu_wicket_set_ticket (mu_wicket_t wicket, int (*get_ticket)
(mu_wicket_t, const char *, const char *, mu_ticket_t *))
{
if (wicket == NULL)
return EINVAL;
......
......@@ -1109,7 +1109,7 @@ mhn_message_size (mu_message_t msg, size_t *psize)
_get_content_encoding (hdr, &encoding);
rc = mu_filter_create(&dstr, bstr, encoding,
MU_FILTER_DECODE, MU_STREAM_READ);
MU_FILTER_DECODE, MU_STREAM_READ);
free (encoding);
if (rc == 0)
{
......@@ -2025,7 +2025,7 @@ finish_text_msg (struct compose_env *env, mu_message_t *msg, int ascii)
mu_message_get_body (*msg, &body);
mu_body_get_stream (body, &input);
rc = mu_filter_create (&fstr, input, "quoted-printable",
MU_FILTER_ENCODE, MU_STREAM_READ);
MU_FILTER_ENCODE, MU_STREAM_READ);
if (rc == 0)
{
cat_message (output, fstr);
......