mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +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;
|
||||
};
|
||||
|
||||
/*
|
||||
* 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;
|
||||
|
2
putty.h
2
putty.h
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user