mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[options] const
This commit is contained in:
parent
29c658c63f
commit
83da43fb98
@ -510,7 +510,7 @@ init_option_listbox_item(struct option *option)
|
||||
struct option *
|
||||
add_opt(struct option *tree, const char *path, const char *capt,
|
||||
const char *name, option_flags_T flags, enum option_type type,
|
||||
long min, long max, longptr_T value, char *desc)
|
||||
long min, long max, longptr_T value, const char *desc)
|
||||
{
|
||||
struct option *option = (struct option *)mem_calloc(1, sizeof(*option));
|
||||
|
||||
|
@ -338,7 +338,7 @@ extern union option_value *get_opt_(struct option *, const char *, struct sessio
|
||||
|
||||
extern struct option *add_opt(struct option *, const char *, const char *,
|
||||
const char *, option_flags_T, enum option_type,
|
||||
long, long, longptr_T, char *);
|
||||
long, long, longptr_T, const char *);
|
||||
|
||||
/** Check whether the character @a c may be used in the name of an
|
||||
* option. This does not allow the '.' used in multi-part names like
|
||||
|
Loading…
Reference in New Issue
Block a user