(mh_context_iterator): Changed signature
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -22,6 +22,8 @@ | ... | @@ -22,6 +22,8 @@ |
22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
23 | #include <unistd.h> | 23 | #include <unistd.h> |
24 | #include <mh_getopt.h> | 24 | #include <mh_getopt.h> |
25 | #include <xalloc.h> | ||
26 | #include <mu_asprintf.h> | ||
25 | 27 | ||
26 | #include <string.h> | 28 | #include <string.h> |
27 | 29 | ||
... | @@ -217,7 +219,7 @@ struct mh_whatnow_env { /* An environment for whatnow shell */ | ... | @@ -217,7 +219,7 @@ struct mh_whatnow_env { /* An environment for whatnow shell */ |
217 | #define DISP_USE 1 | 219 | #define DISP_USE 1 |
218 | #define DISP_REPLACE 2 | 220 | #define DISP_REPLACE 2 |
219 | 221 | ||
220 | typedef int (*mh_context_iterator) (char *field, char *value, char *data); | 222 | typedef int (*mh_context_iterator) (char *field, char *value, void *data); |
221 | 223 | ||
222 | #define SEQ_PRIVATE 1 | 224 | #define SEQ_PRIVATE 1 |
223 | #define SEQ_ZERO 2 | 225 | #define SEQ_ZERO 2 | ... | ... |
-
Please register or sign in to post a comment