1
0
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:
Witold Filipczyk 2022-01-30 14:39:44 +01:00
parent 94a3c6326b
commit c29e4f3428
2 changed files with 2 additions and 2 deletions

View File

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

View File

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