mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
Give do_html_select return type void instead of int.
This commit is contained in:
parent
321003a09e
commit
a781cf1894
@ -299,9 +299,9 @@ hid:
|
|||||||
html_context->special_f(html_context, SP_CONTROL, fc);
|
html_context->special_f(html_context, SP_CONTROL, fc);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int do_html_select(unsigned char *attr, unsigned char *html,
|
static void do_html_select(unsigned char *attr, unsigned char *html,
|
||||||
unsigned char *eof, unsigned char **end,
|
unsigned char *eof, unsigned char **end,
|
||||||
struct html_context *html_context);
|
struct html_context *html_context);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
do_html_select_multiple(struct html_context *html_context, unsigned char *a,
|
do_html_select_multiple(struct html_context *html_context, unsigned char *a,
|
||||||
@ -408,7 +408,7 @@ end_parse:
|
|||||||
|
|
||||||
static struct list_menu lnk_menu;
|
static struct list_menu lnk_menu;
|
||||||
|
|
||||||
static int
|
static void
|
||||||
do_html_select(unsigned char *attr, unsigned char *html,
|
do_html_select(unsigned char *attr, unsigned char *html,
|
||||||
unsigned char *eof, unsigned char **end,
|
unsigned char *eof, unsigned char **end,
|
||||||
struct html_context *html_context)
|
struct html_context *html_context)
|
||||||
@ -451,7 +451,7 @@ abort:
|
|||||||
}
|
}
|
||||||
destroy_menu(&lnk_menu);
|
destroy_menu(&lnk_menu);
|
||||||
*end = en;
|
*end = en;
|
||||||
return 0;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lbl.source) {
|
if (lbl.source) {
|
||||||
@ -574,8 +574,6 @@ end_parse:
|
|||||||
kill_html_stack_item(html_context, &html_top);
|
kill_html_stack_item(html_context, &html_top);
|
||||||
put_chrs(html_context, "]", 1);
|
put_chrs(html_context, "]", 1);
|
||||||
html_context->special_f(html_context, SP_CONTROL, fc);
|
html_context->special_f(html_context, SP_CONTROL, fc);
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user