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:
parent
932a795816
commit
9ddb966438
9
config.c
9
config.c
@ -260,13 +260,8 @@ struct hostport {
|
|||||||
union control *host, *port;
|
union control *host, *port;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
static void config_protocolbuttons_handler(union control *ctrl, dlgparam *dlg,
|
||||||
* We export this function so that platform-specific config
|
void *data, int event)
|
||||||
* 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)
|
|
||||||
{
|
{
|
||||||
int button;
|
int button;
|
||||||
Conf *conf = (Conf *)data;
|
Conf *conf = (Conf *)data;
|
||||||
|
2
putty.h
2
putty.h
@ -2034,8 +2034,6 @@ void conf_filesel_handler(union control *ctrl, dlgparam *dlg,
|
|||||||
void *data, int event);
|
void *data, int event);
|
||||||
void conf_fontsel_handler(union control *ctrl, dlgparam *dlg,
|
void conf_fontsel_handler(union control *ctrl, dlgparam *dlg,
|
||||||
void *data, int event);
|
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,
|
void setup_config_box(struct controlbox *b, bool midsession,
|
||||||
int protocol, int protcfginfo);
|
int protocol, int protcfginfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user