summaryrefslogtreecommitdiff
path: root/mh
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-12-04 09:48:34 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-12-04 09:48:34 +0000
commit2bce826fc9a8ee891822562760a99398db227b04 (patch)
tree2f2f77e9a431b47c584a0eb245b0476921a563b7 /mh
parentc57171ac85329c8baad86a7e4221ebeef2df0804 (diff)
downloadmailutils-2bce826fc9a8ee891822562760a99398db227b04.tar.gz
mailutils-2bce826fc9a8ee891822562760a99398db227b04.tar.bz2
* imap4d/imap4d.h: Include xalloc.h
* frm/common.c, imap4d/imap4d.c: Shut compiler warnings. * include/mailutils/cfg.h (mu_cfg_format_tree): Rename to mu_cfg_format_parse_tree (mu_cfg_format_container,mu_format_config_tree): New functions. (mu_parse_config_tree): New prototype. (mu_cfg_tree_create_node): Change signature (const char* instead of char*). * include/mailutils/gocs.h (mu_gocs_register): First arg is const. * include/mailutils/libargp.h (mu_argp_node_list_new): Mark invariable arguments as const. * include/mailutils/libcfg.h (mu_libcfg_init): Remove const from the arg. * include/mailutils/mutil.h (mu_spawnvp): Remove const from the 2nd arg. * libargp/cmdline.c (mu_argp_node_list_new): Mark invariable arguments as const. * lib/mailcap.h: New file. * lib/Makefile.am (libmuaux_la_SOURCES): Add mailcap.h * libargp/cmdline.h (mu_help_config_mode): New extern. * libargp/common.c: New option --config-help displays a configuration file summary. * libargp/muinit.c (mu_app_init): Handle --config-help. * libcfg/init.c (mu_libcfg_init): Remove const from the arg. * maidag/maidag.h (mda): New prototype. * mail/decode.c: Include mailcap.h * mail/mail.h: Define _GNU_SOURCE before including stdio.h * mail/send.c: Fix includes. * mail.remote/mail.remote.c: Include mu_umaxtostr.h * mailbox/cfg_format.c (mu_cfg_data_type_string) (mu_cfg_format_container): New function. * mailbox/cfg_lexer.c (mu_build_container): New function. (mu_parse_config_tree): Use mu_build_container. (mu_format_config_tree): New function. * mailbox/cfg_parser.y (mu_cfg_tree_create_node): Change proto. * mailbox/gocs.c (struct mu_gocs_entry): Name is const. (mu_gocs_register): 1st arg (capa) is const. * mailbox/mutil.c (mu_spawnvp): Remove const from the 2nd arg. * mh/mh_whatnow.c (invoke): Shut compiler warnings. * mimeview/mimetypes.l (mimetypes_open): Shut compiler warnings. * mimeview/mimeview.c: Include mailcap.h (display_file): Shut compiler warnings. * readmsg/readmsg.c: Include mu_umaxtostr.h * sieve/sieve.c (parser): Remove unused variable.
Diffstat (limited to 'mh')
-rw-r--r--mh/mh_whatnow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mh/mh_whatnow.c b/mh/mh_whatnow.c
index 7fb074cf6..d2bf88716 100644
--- a/mh/mh_whatnow.c
+++ b/mh/mh_whatnow.c
@@ -242,7 +242,7 @@ invoke (const char *compname, const char *defval, int argc, char **argv,
const char *extra0, const char *extra1)
{
int i, rc;
- const char **xargv;
+ char **xargv;
const char *progname;
int status;

Return to:

Send suggestions and report system problems to the System administrator.