From ab72415130292f72ee6708852a10072c1835da57 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Thu, 23 Jul 2009 22:57:41 +0300 Subject: [PATCH] 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. --- src/protocol/bittorrent/dialogs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol/bittorrent/dialogs.c b/src/protocol/bittorrent/dialogs.c index ba99de54..9d5cc2e8 100644 --- a/src/protocol/bittorrent/dialogs.c +++ b/src/protocol/bittorrent/dialogs.c @@ -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;