diff --git a/src/DNS_Mgr.h b/src/DNS_Mgr.h index 55f7c3a356..9f079afb71 100644 --- a/src/DNS_Mgr.h +++ b/src/DNS_Mgr.h @@ -16,7 +16,7 @@ // These are defined in ares headers but we don't want to have to include // those headers here and create install dependencies on them. struct ares_channeldata; -typedef struct ares_channeldata* ares_channel; +using ares_channel = struct ares_channeldata*; #ifndef T_PTR #define T_PTR 12 #endif diff --git a/src/DebugCmds.h b/src/DebugCmds.h index 9be4095eb5..52384275c8 100644 --- a/src/DebugCmds.h +++ b/src/DebugCmds.h @@ -68,6 +68,7 @@ int find_all_matching_cmds(const std::string& prefix, const char* array_of_match // These functions return <= 0 if failure, > 0 for success. // More particular return values are command-specific: see comments w/function. +// NOLINTNEXTLINE(modernize-use-using) typedef int DbgCmdFn(DebugCmd cmd, const std::vector& args); DbgCmdFn dbg_cmd_backtrace;