mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[forms] str2type const char *
This commit is contained in:
parent
94a3c6326b
commit
c29e4f3428
@ -42,7 +42,7 @@ static struct form_type_name form_type2name[] = {
|
||||
#define FORM_TYPE_COUNT (sizeof(form_type2name)/sizeof(struct form_type_name))
|
||||
|
||||
enum form_type
|
||||
str2form_type(char *s)
|
||||
str2form_type(const char *s)
|
||||
{
|
||||
int n;
|
||||
|
||||
|
@ -128,7 +128,7 @@ struct el_form_control {
|
||||
};
|
||||
|
||||
/* Numerical form type <-> form type name */
|
||||
enum form_type str2form_type(char *s);
|
||||
enum form_type str2form_type(const char *s);
|
||||
char *form_type2str(enum form_type num);
|
||||
|
||||
struct form *init_form(void);
|
||||
|
Loading…
Reference in New Issue
Block a user