mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-28 01:35:32 +00:00
download: Make BitTorrent's tp_show_header static
There are two identical tp_show_header() functions: one in src/session/download.c and one in src/protocol/bittorrent/dialogs.c. Neither is declared in any header, but the latter was not static.
This commit is contained in:
parent
1cca904ce6
commit
ab72415130
|
@ -678,7 +678,7 @@ bittorrent_download(struct dialog_data *dlg_data, struct widget_data *widget_dat
|
|||
|
||||
/* Show the protocol header. */
|
||||
/* XXX: Code duplication with session/download.h */
|
||||
widget_handler_status_T
|
||||
static widget_handler_status_T
|
||||
tp_show_header(struct dialog_data *dlg_data, struct widget_data *widget_data)
|
||||
{
|
||||
struct type_query *type_query = widget_data->widget->data;
|
||||
|
|
Loading…
Reference in New Issue
Block a user