diff --git a/script/make-pretty b/script/make-pretty index 1f7edae13..b1f444ff1 100755 --- a/script/make-pretty +++ b/script/make-pretty @@ -95,6 +95,7 @@ readonly OT_CLANG_TIDY_BUILD_OPTS=( '-DOT_DHCP6_SERVER=ON' '-DOT_DIAGNOSTIC=ON' '-DOT_DNS_CLIENT=ON' + '-DOT_DNSSD_SERVER=ON' '-DOT_DUA=ON' '-DOT_MLR=ON' '-DOT_ECDSA=ON' diff --git a/src/core/net/dnssd_server.cpp b/src/core/net/dnssd_server.cpp index a484366e4..6738994d6 100644 --- a/src/core/net/dnssd_server.cpp +++ b/src/core/net/dnssd_server.cpp @@ -43,8 +43,6 @@ #include "net/srp_server.hpp" #include "net/udp6.hpp" -using ot::Encoding::BigEndian::HostSwap16; - namespace ot { namespace Dns { namespace ServiceDiscovery {