1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Stop exporting config_protocolbuttons_handler().

Not needed since 1f399bec58; the serial protocol is now in the protocol
list from the start, not added dynamically.
This commit is contained in:
Jacob Nevins 2020-06-27 17:25:14 +01:00
parent 932a795816
commit 9ddb966438
2 changed files with 2 additions and 9 deletions

View File

@ -260,13 +260,8 @@ struct hostport {
union control *host, *port;
};
/*
* We export this function so that platform-specific config
* routines can use it to conveniently identify the protocol radio
* buttons in order to add to them.
*/
void config_protocolbuttons_handler(union control *ctrl, dlgparam *dlg,
void *data, int event)
static void config_protocolbuttons_handler(union control *ctrl, dlgparam *dlg,
void *data, int event)
{
int button;
Conf *conf = (Conf *)data;

View File

@ -2034,8 +2034,6 @@ void conf_filesel_handler(union control *ctrl, dlgparam *dlg,
void *data, int event);
void conf_fontsel_handler(union control *ctrl, dlgparam *dlg,
void *data, int event);
/* Much more special-purpose function needed by sercfg.c */
void config_protocolbuttons_handler(union control *, dlgparam *, void *, int);
void setup_config_box(struct controlbox *b, bool midsession,
int protocol, int protcfginfo);