summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-10-22 11:48:24 +0300
committerSergey Poznyakoff <gray@gnu.org>2016-10-22 12:10:48 +0300
commite267ac86e2c3a78979fe12bdd16392f30f8d1725 (patch)
treebc4734b2502cf89461abe84af99967e99c2a1ecc /include
parentf434857b8318b05b7036025605ab18cdf3e7c238 (diff)
downloadmailutils-e267ac86e2c3a78979fe12bdd16392f30f8d1725.tar.gz
mailutils-e267ac86e2c3a78979fe12bdd16392f30f8d1725.tar.bz2
Finish conversion of MH utilities to mh_parseopt
This finishes work started at commit bc73fc65. * include/mailutils/opt.h (mu_option_cache) <cache_arg>: Made const. * libmailutils/opt/opt.c (mu_option_cache_destroy): Don't free cache_arg. * doc/texinfo/mu-mh.texi: Update. * po/POTFILES.in: Remove obsolete files. * mh/tests/refile.at: Don't use double-dash options. * mh/mh_getopt.c (mh_opt_set_folder): New function. * mh/mh_getopt.h: Likewise. * mh/mhn.c: Convert to mh_getopt. * mh/mhparam.c: Likewise. * mh/mhpath.c: Likewise. * mh/mhseq.c: Likewise. * mh/msgchk.c: Likewise. * mh/pick.c: Likewise. * mh/pick.h: Likewise. * mh/pick.y: Likewise. * mh/prompter.c: Likewise. * mh/refile.c: Likewise. * mh/repl.c: Likewise. * mh/rmf.c: Likewise. * mh/rmm.c: Likewise. * mh/scan.c: Likewise. * mh/send.c: Likewise. * mh/show.c: Likewise. * mh/sortm.c: Likewise. * mh/whatnow.c: Likewise. * mh/whom.c: Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/mailutils/opt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mailutils/opt.h b/include/mailutils/opt.h
index efecd8fe7..6a7f2dc0b 100644
--- a/include/mailutils/opt.h
+++ b/include/mailutils/opt.h
@@ -71,7 +71,7 @@ typedef struct mu_option_cache *mu_option_cache_ptr_t;
struct mu_option_cache
{
struct mu_option *cache_opt;
- char *cache_arg;
+ char const *cache_arg;
};
#define MU_PARSEOPT_DEFAULT 0

Return to:

Send suggestions and report system problems to the System administrator.