1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

[options] const

This commit is contained in:
Witold Filipczyk 2022-01-31 16:09:02 +01:00
parent 29c658c63f
commit 83da43fb98
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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