diff --git a/putty.h b/putty.h index b8c8169f..6f118f7c 100644 --- a/putty.h +++ b/putty.h @@ -2056,6 +2056,7 @@ enum config_primary_key { CONFIG_OPTIONS(CONF_ENUM_DEF) N_CONFIG_OPTIONS }; /* Functions handling configuration structures. */ Conf *conf_new(void); /* create an empty configuration */ void conf_free(Conf *conf); +void conf_clear(Conf *conf); /* likely only useful for test programs */ Conf *conf_copy(Conf *oldconf); void conf_copy_into(Conf *dest, Conf *src); /* Mandatory accessor functions: enforce by assertion that keys exist. */ diff --git a/utils/conf.c b/utils/conf.c index 53195180..2f9093b0 100644 --- a/utils/conf.c +++ b/utils/conf.c @@ -211,7 +211,7 @@ Conf *conf_new(void) return conf; } -static void conf_clear(Conf *conf) +void conf_clear(Conf *conf) { struct conf_entry *entry;