From: Michael Tremer Date: Thu, 15 Dec 2016 22:04:54 +0000 (+0100) Subject: Cleanup any clashes in include protectors X-Git-Tag: 0.9.28~1285^2~1364 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b7dea392796c895c7f11c978ec1674dac6f1298;p=pakfire.git Cleanup any clashes in include protectors Signed-off-by: Michael Tremer --- diff --git a/src/_pakfire/capabilities.h b/src/_pakfire/capabilities.h index 8f820cd5e..d077b43b7 100644 --- a/src/_pakfire/capabilities.h +++ b/src/_pakfire/capabilities.h @@ -18,12 +18,12 @@ # # #############################################################################*/ -#ifndef PAKFIRE_CAPS_H -#define PAKFIRE_CAPS_H +#ifndef PYTHON_PAKFIRE_CAPS_H +#define PYTHON_PAKFIRE_CAPS_H #include extern PyObject *get_capabilities(PyObject *self, PyObject *args); extern PyObject *set_capabilities(PyObject *self, PyObject *args); -#endif +#endif /* PYTHON_PAKFIRE_CAPS_H */ diff --git a/src/_pakfire/constants.h b/src/_pakfire/constants.h index dd7988178..fbf5832f4 100644 --- a/src/_pakfire/constants.h +++ b/src/_pakfire/constants.h @@ -18,8 +18,8 @@ # # #############################################################################*/ -#ifndef _PAKFIRE_CONSTANTS_H -#define _PAKFIRE_CONSTANTS_H +#ifndef PYTHON_PAKFIRE_CONSTANTS_H +#define PYTHON_PAKFIRE_CONSTANTS_H #define STRING_SIZE 2048 @@ -30,4 +30,4 @@ #include #define _(x) gettext(x) -#endif +#endif /* PYTHON_PAKFIRE_CONSTANTS_H */ diff --git a/src/_pakfire/problem.h b/src/_pakfire/problem.h index f6a97c1b1..22b3b7478 100644 --- a/src/_pakfire/problem.h +++ b/src/_pakfire/problem.h @@ -18,8 +18,8 @@ # # #############################################################################*/ -#ifndef PAKFIRE_PROBLEM_H -#define PAKFIRE_PROBLEM_H +#ifndef PYTHON_PAKFIRE_PROBLEM_H +#define PYTHON_PAKFIRE_PROBLEM_H #include @@ -55,4 +55,4 @@ extern PyObject *Problem_get_solutions(ProblemObject *self); extern PyTypeObject ProblemType; -#endif +#endif /* PYTHON_PAKFIRE_PROBLEM_H */ diff --git a/src/_pakfire/relation.h b/src/_pakfire/relation.h index b4de5ca18..348fa22eb 100644 --- a/src/_pakfire/relation.h +++ b/src/_pakfire/relation.h @@ -18,8 +18,8 @@ # # #############################################################################*/ -#ifndef PAKFIRE_RELATION_H -#define PAKFIRE_RELATION_H +#ifndef PYTHON_PAKFIRE_RELATION_H +#define PYTHON_PAKFIRE_RELATION_H #include @@ -39,4 +39,4 @@ extern PyObject *Relation_string(RelationObject *self); extern PyTypeObject RelationType; -#endif +#endif /* PYTHON_PAKFIRE_RELATION_H */ diff --git a/src/_pakfire/request.h b/src/_pakfire/request.h index aa7927433..f7c2efe06 100644 --- a/src/_pakfire/request.h +++ b/src/_pakfire/request.h @@ -18,8 +18,8 @@ # # #############################################################################*/ -#ifndef PAKFIRE_REQUEST_H -#define PAKFIRE_REQUEST_H +#ifndef PYTHON_PAKFIRE_REQUEST_H +#define PYTHON_PAKFIRE_REQUEST_H #include @@ -65,4 +65,4 @@ extern PyObject *Request_verify(RequestObject *self, PyObject *args); extern PyTypeObject RequestType; -#endif +#endif /* PYTHON_PAKFIRE_REQUEST_H */ diff --git a/src/_pakfire/solution.h b/src/_pakfire/solution.h index d5b7fc43c..b49e1518d 100644 --- a/src/_pakfire/solution.h +++ b/src/_pakfire/solution.h @@ -18,8 +18,8 @@ # # #############################################################################*/ -#ifndef PAKFIRE_SOLUTION_H -#define PAKFIRE_SOLUTION_H +#ifndef PYTHON_PAKFIRE_SOLUTION_H +#define PYTHON_PAKFIRE_SOLUTION_H #include @@ -40,4 +40,4 @@ extern PyObject *Solution_string(SolutionObject *self); extern PyTypeObject SolutionType; -#endif +#endif /* PYTHON_PAKFIRE_SOLUTION_H */ diff --git a/src/_pakfire/solvable.h b/src/_pakfire/solvable.h index 5d2b28109..caa41bc94 100644 --- a/src/_pakfire/solvable.h +++ b/src/_pakfire/solvable.h @@ -18,8 +18,8 @@ # # #############################################################################*/ -#ifndef PAKFIRE_SOLVABLE_H -#define PAKFIRE_SOLVABLE_H +#ifndef PYTHON_PAKFIRE_SOLVABLE_H +#define PYTHON_PAKFIRE_SOLVABLE_H #include @@ -107,4 +107,4 @@ extern PyObject *Solvable_get_suggests(SolvableObject *self); extern PyTypeObject SolvableType; -#endif +#endif /* PYTHON_PAKFIRE_SOLVABLE_H */ diff --git a/src/_pakfire/solver.h b/src/_pakfire/solver.h index 8a4478b2d..63003af54 100644 --- a/src/_pakfire/solver.h +++ b/src/_pakfire/solver.h @@ -18,8 +18,8 @@ # # #############################################################################*/ -#ifndef PAKFIRE_SOLVER_H -#define PAKFIRE_SOLVER_H +#ifndef PYTHON_PAKFIRE_SOLVER_H +#define PYTHON_PAKFIRE_SOLVER_H #include @@ -55,4 +55,4 @@ extern PyObject *Solver_get_problems(SolverObject *self, PyObject *args); extern PyTypeObject SolverType; -#endif +#endif /* PYTHON_PAKFIRE_SOLVER_H */ diff --git a/src/_pakfire/step.h b/src/_pakfire/step.h index ab105755c..eab1d6cfa 100644 --- a/src/_pakfire/step.h +++ b/src/_pakfire/step.h @@ -18,8 +18,8 @@ # # #############################################################################*/ -#ifndef PAKFIRE_STEP_H -#define PAKFIRE_STEP_H +#ifndef PYTHON_PAKFIRE_STEP_H +#define PYTHON_PAKFIRE_STEP_H #include @@ -40,4 +40,4 @@ extern PyObject *Step_get_solvable(StepObject *self, PyObject *args); extern PyTypeObject StepType; -#endif +#endif /* PYTHON_PAKFIRE_STEP_H */ diff --git a/src/_pakfire/transaction.h b/src/_pakfire/transaction.h index 1dfe28f2d..7c5c1cc8f 100644 --- a/src/_pakfire/transaction.h +++ b/src/_pakfire/transaction.h @@ -18,8 +18,8 @@ # # #############################################################################*/ -#ifndef PAKFIRE_TRANSACTION_H -#define PAKFIRE_TRANSACTION_H +#ifndef PYTHON_PAKFIRE_TRANSACTION_H +#define PYTHON_PAKFIRE_TRANSACTION_H #include @@ -39,4 +39,4 @@ extern PyObject *Transaction_get_installsizechange(TransactionObject *self); extern PyTypeObject TransactionType; -#endif +#endif /* PYTHON_PAKFIRE_TRANSACTION_H */