All functions, except display_stream_mailcap, are static.
Showing
1 changed file
with
5 additions
and
4 deletions
... | @@ -142,13 +142,13 @@ mime_context_do_not_ask (struct mime_context *ctx) | ... | @@ -142,13 +142,13 @@ mime_context_do_not_ask (struct mime_context *ctx) |
142 | return rc; | 142 | return rc; |
143 | } | 143 | } |
144 | 144 | ||
145 | int | 145 | static int |
146 | dry_run_p (struct mime_context *ctx) | 146 | dry_run_p (struct mime_context *ctx) |
147 | { | 147 | { |
148 | return ctx->flags & FLAGS_DRY_RUN; | 148 | return ctx->flags & FLAGS_DRY_RUN; |
149 | } | 149 | } |
150 | 150 | ||
151 | int | 151 | static int |
152 | interactive_p (struct mime_context *ctx) | 152 | interactive_p (struct mime_context *ctx) |
153 | { | 153 | { |
154 | return ctx->flags & FLAGS_INTERACTIVE; | 154 | return ctx->flags & FLAGS_INTERACTIVE; |
... | @@ -175,7 +175,8 @@ mime_context_get_content_type_value (struct mime_context *ctx, | ... | @@ -175,7 +175,8 @@ mime_context_get_content_type_value (struct mime_context *ctx, |
175 | int rc = 1; | 175 | int rc = 1; |
176 | 176 | ||
177 | mu_list_get_iterator (ctx->values, &itr); | 177 | mu_list_get_iterator (ctx->values, &itr); |
178 | for (mu_iterator_first (itr); !mu_iterator_is_done (itr); mu_iterator_next (itr)) | 178 | for (mu_iterator_first (itr); |
179 | !mu_iterator_is_done (itr); mu_iterator_next (itr)) | ||
179 | { | 180 | { |
180 | char *item, *p; | 181 | char *item, *p; |
181 | 182 | ||
... | @@ -507,7 +508,7 @@ run_test (mu_mailcap_entry_t entry, struct mime_context *ctx) | ... | @@ -507,7 +508,7 @@ run_test (mu_mailcap_entry_t entry, struct mime_context *ctx) |
507 | return status; | 508 | return status; |
508 | } | 509 | } |
509 | 510 | ||
510 | int | 511 | static int |
511 | run_mailcap (mu_mailcap_entry_t entry, struct mime_context *ctx) | 512 | run_mailcap (mu_mailcap_entry_t entry, struct mime_context *ctx) |
512 | { | 513 | { |
513 | char *view_command; | 514 | char *view_command; | ... | ... |
-
Please register or sign in to post a comment