mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Fix clang-tidy modernize-macro-to-enum warnings in headers
This commit is contained in:
parent
6b34d4d094
commit
451b25cfad
4 changed files with 10 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#define BTTRACKER_BUF 2048
|
||||
constexpr uint32_t BTTRACKER_BUF = 2048;
|
||||
|
||||
namespace zeek {
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#define MSGLEN_LIMIT 0x40000
|
||||
constexpr uint32_t MSGLEN_LIMIT = 0x40000;
|
||||
|
||||
#include "zeek/analyzer/protocol/bittorrent/events.bif.h"
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue