]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
Added missing header guards
authorMartin Vidner <mvidner@suse.cz>
Tue, 17 Dec 2019 09:37:20 +0000 (10:37 +0100)
committerMartin Vidner <mvidner@suse.cz>
Tue, 17 Dec 2019 10:22:26 +0000 (11:22 +0100)
zypp-plugin/solvable_matcher.h
zypp-plugin/zypp_commit_plugin.h
zypp-plugin/zypp_plugin.h

index b917f3f93ed121311dabbca03bc47de243ae902b..0fb6b22889e2c15960073ec8c65d234067f7303a 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef SOLVABLE_MATCHER_H
+#define SOLVABLE_MATCHER_H
+
 #include <iostream>
 #include <vector>
 #include <string>
@@ -21,3 +24,5 @@ struct SolvableMatcher {
     bool match(const std::string& solvable) const;
     static std::vector<SolvableMatcher> load_config(const std::string& cfg_filename);
 };
+
+#endif //SOLVABLE_MATCHER_H
index 08d83cf126467b07a86246500e9152fa7884d237..bc2cd5ff42db8023af45cfa6303d0b9149da5017 100644 (file)
@@ -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
index aaba56749fe32a9e26e35d87fc91fb4e7e8f7ba9..7750e9092ec8a33b44a6de713fa1c1d453da48b1 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef ZYPP_PLUGIN_H
+#define ZYPP_PLUGIN_H
+
 #include <map>
 #include <string>
 
@@ -22,3 +25,5 @@ public:
        return a;
     }
 };
+
+#endif //ZYPP_PLUGIN_H