mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Switch from header guards to pragma once
This commit is contained in:
parent
83180a2553
commit
c1f3fe7829
254 changed files with 260 additions and 1008 deletions
|
@ -1,7 +1,6 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef FILE_ANALYSIS_DATAEVENT_H
|
||||
#define FILE_ANALYSIS_DATAEVENT_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -65,5 +64,3 @@ private:
|
|||
};
|
||||
|
||||
} // namespace file_analysis
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef FILE_ANALYSIS_ENTROPY_H
|
||||
#define FILE_ANALYSIS_ENTROPY_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -80,5 +79,3 @@ private:
|
|||
};
|
||||
|
||||
} // namespace file_analysis
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef FILE_ANALYSIS_EXTRACT_H
|
||||
#define FILE_ANALYSIS_EXTRACT_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -78,5 +77,3 @@ private:
|
|||
};
|
||||
|
||||
} // namespace file_analysis
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef FILE_ANALYSIS_HASH_H
|
||||
#define FILE_ANALYSIS_HASH_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -156,5 +155,3 @@ protected:
|
|||
};
|
||||
|
||||
} // namespace file_analysis
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef FILE_ANALYSIS_PE_H
|
||||
#define FILE_ANALYSIS_PE_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -31,5 +30,3 @@ protected:
|
|||
};
|
||||
|
||||
} // namespace file_analysis
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef FILE_ANALYSIS_UNIFIED2_H
|
||||
#define FILE_ANALYSIS_UNIFIED2_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -33,5 +32,3 @@ private:
|
|||
};
|
||||
|
||||
} // namespace file_analysis
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef FILE_ANALYSIS_OCSP_H
|
||||
#define FILE_ANALYSIS_OCSP_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -35,5 +34,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef FILE_ANALYSIS_X509_H
|
||||
#define FILE_ANALYSIS_X509_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -157,5 +156,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
// Common base class for the X509 and OCSP analyzer, which share a fair amount of
|
||||
// code
|
||||
|
||||
#ifndef FILE_ANALYSIS_X509_COMMON
|
||||
#define FILE_ANALYSIS_X509_COMMON
|
||||
#pragma once
|
||||
|
||||
#include "file_analysis/File.h"
|
||||
#include "Analyzer.h"
|
||||
|
@ -42,5 +41,3 @@ protected:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
#endif /* FILE_ANALYSIS_X509_COMMON */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue