From 9ddb9664383d18f4a32f58b84b8e0c3b51f60aa1 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sat, 27 Jun 2020 17:25:14 +0100 Subject: [PATCH] Stop exporting config_protocolbuttons_handler(). Not needed since 1f399bec58; the serial protocol is now in the protocol list from the start, not added dynamically. --- config.c | 9 ++------- putty.h | 2 -- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/config.c b/config.c index a8d88e87..a2b7fa7f 100644 --- a/config.c +++ b/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; diff --git a/putty.h b/putty.h index ca8ee4a5..bf7e8b9e 100644 --- a/putty.h +++ b/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);