diff --git a/Changelog b/Changelog index 509644f1..8cb39ddf 100644 --- a/Changelog +++ b/Changelog @@ -25,6 +25,8 @@ Thanks Ørjan Malde * PR #216 Update declaration for function with no argument Thanks Ed Maste + * PR #214 fix the build in FreeBSD's base system + Thanks Pierre Pronchery and Dag-Erling Smørgrav 1.8.3 2022-08-15 * bugfix #183: Assertion failure with OPT record without rdata. diff --git a/str2host.c b/str2host.c index 4617aa3c..5b78e5bc 100644 --- a/str2host.c +++ b/str2host.c @@ -2198,7 +2198,7 @@ static const size_t svcparam_key_defs_len = sizeof(svcparam_key_defs) /* svcparam_key2buffer_str() should actually be in host2str.c, but we need the * svcparam_key_defs for it and it is not an exposed symbol anyway. */ -static ldns_status svcparam_key2buffer_str(ldns_buffer *output, uint16_t key) +ldns_status svcparam_key2buffer_str(ldns_buffer *output, uint16_t key) { if (key <= LDNS_SVCPARAM_KEY_LAST_KEY) ldns_buffer_write_string(output, svcparam_key_defs[key].str);