mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
bifcl: Minor cleanup of include files
This commit is contained in:
parent
7026938082
commit
23a5e46b8e
4 changed files with 11 additions and 16 deletions
|
@ -1,12 +1,7 @@
|
|||
|
||||
#include <set>
|
||||
#include <string>
|
||||
using namespace std;
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "bif_arg.h"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
static struct {
|
||||
const char* type_enum;
|
||||
const char* bif_type;
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
%top{
|
||||
// Include stdint.h at the start of the generated file. Typically
|
||||
// Include cstdint at the start of the generated file. Typically
|
||||
// MSVC will include this header later, after the definitions of
|
||||
// the integral type macros. MSVC then complains that about the
|
||||
// redefinition of the types. Including stdint.h early avoids this.
|
||||
#include <stdint.h>
|
||||
// redefinition of the types. Including cstdint early avoids this.
|
||||
#include <cstdint>
|
||||
}
|
||||
|
||||
%{
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
#include "bif_arg.h"
|
||||
#include "bif_parse.h"
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
%{
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "module_util.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
|
||||
enum builtin_func_arg_type {
|
||||
#define DEFINE_BIF_TYPE(id, bif_type, bro_type, c_type, c_type_smart, accessor, accessor_smart, cast_smart, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue