- add include guard for chksum.h
authorMichael Schroeder <mls@suse.de>
Tue, 17 Jan 2012 11:21:36 +0000 (12:21 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 17 Jan 2012 11:21:36 +0000 (12:21 +0100)
src/chksum.h
src/solver_private.h

index e6706df..4265a92 100644 (file)
@@ -1,3 +1,13 @@
+/*
+ * Copyright (c) 2007-2012, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+#ifndef LIBSOLV_CHKSUM_H
+#define LIBSOLV_CHKSUM_H
+
 #include "pool.h"
 
 void *solv_chksum_create(Id type);
@@ -24,3 +34,5 @@ static inline int solv_chksum_len(Id type)
       return 0;
     }
 }
+
+#endif /* LIBSOLV_CHKSUM_H */
index 8aeea18..43bc66e 100644 (file)
@@ -10,8 +10,8 @@
  *
  */
 
-#ifndef LIBSOLV_SOLVER_P_H
-#define LIBSOLV_SOLVER_P_H
+#ifndef LIBSOLV_SOLVER_PRIVATE_H
+#define LIBSOLV_SOLVER_PRIVATE_H
 
 extern void solver_run_sat(Solver *solv, int disablerules, int doweak);
 extern void solver_reset(Solver *solv);
@@ -73,4 +73,4 @@ solver_is_enhancing(Solver *solv, Solvable *s)
   return 0;
 }
 
-#endif /* LIBSOLV_SOLVER_P_H */
+#endif /* LIBSOLV_SOLVER_PRIVATE_H */