]> git.ipfire.org Git - thirdparty/bind9.git/commit
dns_transport: use const arguments in getters when possible
authorAram Sargsyan <aram@isc.org>
Tue, 30 May 2023 14:32:02 +0000 (14:32 +0000)
committerAram Sargsyan <aram@isc.org>
Fri, 22 Sep 2023 08:51:45 +0000 (08:51 +0000)
commit35fc773632c680082d9456dfffa52257e38a9cda
treee2a5515cd716213c1591a00aee12fb66c0b7b08a
parentbaacd2af4483b97e00f021f23752743ffaf769d8
dns_transport: use const arguments in getters when possible

In some dns_transport getter functions it's possible to use a
const dns_transport_t as the first argument instead of just
dns_transport_t. Convert the function prototypes to use const.
lib/dns/include/dns/transport.h
lib/dns/transport.c