From: Martin Vidner Date: Tue, 17 Dec 2019 09:37:20 +0000 (+0100) Subject: Added missing header guards X-Git-Tag: v0.8.7^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3134c62f2534d265f9ad95024447cd3dbb9bb36c;p=thirdparty%2Fsnapper.git Added missing header guards --- diff --git a/zypp-plugin/solvable_matcher.h b/zypp-plugin/solvable_matcher.h index b917f3f9..0fb6b228 100644 --- a/zypp-plugin/solvable_matcher.h +++ b/zypp-plugin/solvable_matcher.h @@ -1,3 +1,6 @@ +#ifndef SOLVABLE_MATCHER_H +#define SOLVABLE_MATCHER_H + #include #include #include @@ -21,3 +24,5 @@ struct SolvableMatcher { bool match(const std::string& solvable) const; static std::vector load_config(const std::string& cfg_filename); }; + +#endif //SOLVABLE_MATCHER_H diff --git a/zypp-plugin/zypp_commit_plugin.h b/zypp-plugin/zypp_commit_plugin.h index 08d83cf1..bc2cd5ff 100644 --- a/zypp-plugin/zypp_commit_plugin.h +++ b/zypp-plugin/zypp_commit_plugin.h @@ -1,3 +1,6 @@ +#ifndef ZYPP_COMMIT_PLUGIN_H +#define ZYPP_COMMIT_PLUGIN_H + #include "zypp_plugin.h" class ZyppCommitPlugin : public ZyppPlugin { @@ -18,3 +21,4 @@ public: } }; +#endif //ZYPP_COMMIT_PLUGIN_H diff --git a/zypp-plugin/zypp_plugin.h b/zypp-plugin/zypp_plugin.h index aaba5674..7750e909 100644 --- a/zypp-plugin/zypp_plugin.h +++ b/zypp-plugin/zypp_plugin.h @@ -1,3 +1,6 @@ +#ifndef ZYPP_PLUGIN_H +#define ZYPP_PLUGIN_H + #include #include @@ -22,3 +25,5 @@ public: return a; } }; + +#endif //ZYPP_PLUGIN_H