Remove unnecessary #includes in script_opt

This commit is contained in:
Tim Wojtulewicz 2025-04-24 12:52:06 -07:00
parent 0e47fa10c6
commit 12356a6393
24 changed files with 20 additions and 28 deletions

View file

@ -2,6 +2,7 @@
#pragma once
// Most of these headers are needed for the block of #includes later
#include "zeek/Desc.h"
#include "zeek/script_opt/CPP/Func.h"
#include "zeek/script_opt/CPP/InitsInfo.h"

View file

@ -1,8 +1,6 @@
// See the file "COPYING" in the main distribution directory for copyright.
#include "zeek/RE.h"
#include "zeek/script_opt/CPP/Compile.h"
#include "zeek/script_opt/ProfileFunc.h"
namespace zeek::detail {

View file

@ -5,7 +5,6 @@
#pragma once
#include "zeek/Val.h"
#include "zeek/script_opt/CPP/AttrExprType.h"
#include "zeek/script_opt/CPP/Func.h"
namespace zeek {

View file

@ -6,6 +6,8 @@
#include "zeek/File.h"
#include "zeek/RE.h"
#include "zeek/ZeekString.h"
#include "zeek/module_util.h"
#include "zeek/script_opt/CPP/AttrExprType.h"
#include "zeek/script_opt/CPP/RuntimeInitSupport.h"
using namespace std;

View file

@ -7,7 +7,6 @@
// associated strategies for dealing with them.
#include "zeek/Expr.h"
#include "zeek/module_util.h"
#include "zeek/script_opt/CPP/RuntimeInitSupport.h"
#pragma once

View file

@ -2,7 +2,6 @@
#include "zeek/script_opt/CPP/Compile.h"
#include "zeek/script_opt/IDOptInfo.h"
#include "zeek/script_opt/ProfileFunc.h"
namespace zeek::detail {