Fix helix2solv conflicts error
[platform/upstream/libsolv.git] / src / solverdebug.h
index a1d6663..b6923b4 100644 (file)
 #include "pool.h"
 #include "solver.h"
 
-extern Id *solver_create_decisions_obsoletesmap(Solver *solv);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern void solver_printruleelement(Solver *solv, int type, Rule *r, Id v);
 extern void solver_printrule(Solver *solv, int type, Rule *r);
 extern void solver_printruleclass(Solver *solv, int type, Rule *r);
@@ -30,16 +33,15 @@ extern void solver_printprobleminfo(Solver *solv, Id problem);
 extern void solver_printcompleteprobleminfo(Solver *solv, Id problem);
 extern void solver_printsolution(Solver *solv, Id problem, Id solution);
 extern void solver_printallsolutions(Solver *solv);
-extern void solver_printtrivial(Solver *solv);
 
 extern void transaction_print(Transaction *trans);
 
-extern const char *solver_select2str(Pool *pool, Id select, Id what);
-extern const char *pool_job2str(Pool *pool, Id how, Id what, int withflags);
-extern const char *solver_problemruleinfo2str(Solver *solv, SolverRuleinfo type, Id source, Id target, Id dep);
-extern const char *solver_solutionelement2str(Solver *solv, Id p, Id rp);
-extern const char *policy_illegal2str(Solver *solv, int illegal, Solvable *s, Solvable *rs);
+/* weird suse stuff */
+extern void solver_printtrivial(Solver *solv);
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* LIBSOLV_SOLVERDEBUG_H */