mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
clang-format: Other include ordering changes
This commit is contained in:
parent
cb99ae2b7c
commit
e97c14add5
5 changed files with 13 additions and 3 deletions
4
src/IP.h
4
src/IP.h
|
@ -4,9 +4,11 @@
|
|||
|
||||
#include "zeek/zeek-config.h"
|
||||
|
||||
// clang-format off
|
||||
#include <sys/types.h> // for u_char
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <sys/types.h> // for u_char
|
||||
// clang-format on
|
||||
|
||||
#ifdef HAVE_NETINET_IP6_H
|
||||
#include <netinet/ip6.h>
|
||||
|
|
|
@ -3,8 +3,12 @@
|
|||
#include "zeek/iosource/Manager.h"
|
||||
|
||||
#include <assert.h>
|
||||
// These two files have to remain in the same order or FreeBSD builds
|
||||
// stop working.
|
||||
// clang-format off
|
||||
#include <sys/types.h>
|
||||
#include <sys/event.h>
|
||||
// clang-format on
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
// clang-format off
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <net/if_arp.h>
|
||||
// clang-format on
|
||||
|
||||
#include "zeek/packet_analysis/Analyzer.h"
|
||||
#include "zeek/packet_analysis/Component.h"
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
#include <set>
|
||||
|
||||
#include "zeek/IntrusivePtr.h"
|
||||
#include "zeek/ID.h"
|
||||
#include "zeek/Expr.h"
|
||||
#include "zeek/ID.h"
|
||||
#include "zeek/IntrusivePtr.h"
|
||||
|
||||
namespace zeek::detail
|
||||
{
|
||||
|
|
|
@ -28,8 +28,10 @@ bool set_affinity(int core_number)
|
|||
|
||||
#elif defined(__FreeBSD__)
|
||||
|
||||
// clang-format off
|
||||
#include <sys/param.h>
|
||||
#include <sys/cpuset.h>
|
||||
// clang-format on
|
||||
|
||||
namespace zeek
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue