Switch from header guards to pragma once

This commit is contained in:
Dominik Charousset 2019-09-17 14:10:30 +02:00
parent 83180a2553
commit c1f3fe7829
254 changed files with 260 additions and 1008 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 */