mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove including <cinttypes> from util.h
This commit is contained in:
parent
174bf09d77
commit
e618d00326
17 changed files with 20 additions and 3 deletions
4
NEWS
4
NEWS
|
@ -11,6 +11,10 @@ We would like to thank ... for their contributions to this release.
|
|||
Breaking Changes
|
||||
----------------
|
||||
|
||||
- The code base underwent a big cleanup of #include usage, across almost all of the
|
||||
files. We tested builds of all of the existing third-party packages and only noticed one
|
||||
or two failures, but there is a possibility for breakage related to this cleanup.
|
||||
|
||||
New Functionality
|
||||
-----------------
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "zeek/DNS_Mapping.h"
|
||||
|
||||
#include <ares_nameser.h>
|
||||
#include <cinttypes>
|
||||
|
||||
#include "zeek/DNS_Mgr.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <algorithm>
|
||||
#include <cinttypes>
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
#include <fstream>
|
||||
|
|
|
@ -2,11 +2,10 @@
|
|||
|
||||
#include "zeek/Hash.h"
|
||||
|
||||
#include "zeek/zeek-config.h"
|
||||
|
||||
#include <highwayhash/highwayhash_target.h>
|
||||
#include <highwayhash/instruction_sets.h>
|
||||
#include <highwayhash/sip_hash.h>
|
||||
#include <cinttypes>
|
||||
|
||||
#include "zeek/DebugLogger.h"
|
||||
#include "zeek/Desc.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "zeek/zeek-config.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cinttypes>
|
||||
#include <limits>
|
||||
|
||||
#include "zeek/Desc.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <sys/stat.h>
|
||||
#include <algorithm>
|
||||
#include <cinttypes>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "zeek/SerializationFormat.h"
|
||||
|
||||
#include <cctype>
|
||||
#include <cinttypes>
|
||||
|
||||
#include "zeek/DebugLogger.h"
|
||||
#include "zeek/IPAddr.h"
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include "zeek/Tag.h"
|
||||
|
||||
#include <cinttypes>
|
||||
|
||||
#include "zeek/Val.h"
|
||||
|
||||
namespace zeek {
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "zeek/zeek-config.h"
|
||||
|
||||
#include <cinttypes>
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "zeek/zeek-config.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <cinttypes>
|
||||
|
||||
#include "zeek/RunState.h"
|
||||
#include "zeek/Stats.h"
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
|
||||
%{
|
||||
#include <cassert>
|
||||
#include <cinttypes>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <set>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "zeek/probabilistic/BloomFilter.h"
|
||||
|
||||
#include <cinttypes>
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "zeek/probabilistic/CardinalityCounter.h"
|
||||
|
||||
#include <cinttypes>
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
#include <utility>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "zeek/storage/backend/redis/Redis.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cinttypes>
|
||||
|
||||
#include "zeek/DebugLogger.h"
|
||||
#include "zeek/Func.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "zeek/zeek-config.h"
|
||||
|
||||
#include <pthread.h>
|
||||
#include <cinttypes>
|
||||
#include <csignal>
|
||||
|
||||
#include "zeek/threading/Manager.h"
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include <libgen.h>
|
||||
#include <unistd.h>
|
||||
#include <cinttypes>
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
#include "Plugin.h"
|
||||
|
||||
#include <cinttypes>
|
||||
#include <iostream>
|
||||
|
||||
#include "zeek/ID.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue