mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix clang-tidy modernize-use-using warnings in headers
This commit is contained in:
parent
6f79a6381f
commit
74bf987b82
2 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
// These are defined in ares headers but we don't want to have to include
|
// These are defined in ares headers but we don't want to have to include
|
||||||
// those headers here and create install dependencies on them.
|
// those headers here and create install dependencies on them.
|
||||||
struct ares_channeldata;
|
struct ares_channeldata;
|
||||||
typedef struct ares_channeldata* ares_channel;
|
using ares_channel = struct ares_channeldata*;
|
||||||
#ifndef T_PTR
|
#ifndef T_PTR
|
||||||
#define T_PTR 12
|
#define T_PTR 12
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -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.
|
// These functions return <= 0 if failure, > 0 for success.
|
||||||
// More particular return values are command-specific: see comments w/function.
|
// More particular return values are command-specific: see comments w/function.
|
||||||
|
|
||||||
|
// NOLINTNEXTLINE(modernize-use-using)
|
||||||
typedef int DbgCmdFn(DebugCmd cmd, const std::vector<std::string>& args);
|
typedef int DbgCmdFn(DebugCmd cmd, const std::vector<std::string>& args);
|
||||||
|
|
||||||
DbgCmdFn dbg_cmd_backtrace;
|
DbgCmdFn dbg_cmd_backtrace;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue