From c29f6556a3ed08c1d89eea856bcc7b7a62835cdf Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Tue, 17 Jan 2012 12:21:36 +0100 Subject: [PATCH] - add include guard for chksum.h --- src/chksum.h | 12 ++++++++++++ src/solver_private.h | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/chksum.h b/src/chksum.h index e6706df4..4265a929 100644 --- a/src/chksum.h +++ b/src/chksum.h @@ -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 */ diff --git a/src/solver_private.h b/src/solver_private.h index 8aeea180..43bc66e5 100644 --- a/src/solver_private.h +++ b/src/solver_private.h @@ -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 */ -- 2.47.3