Author: matz Date: Tue Apr 22 15:38:58 2008 New Revision: 9780 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9780&view=rev Log: Fix compile. Modified: trunk/sat-solver/src/solver.h trunk/sat-solver/testsuite/deptestomatic.c trunk/sat-solver/testsuite/yps.c Modified: trunk/sat-solver/src/solver.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/solver.h?rev=9780&r1=9779&r2=9780&view=diff ============================================================================== --- trunk/sat-solver/src/solver.h (original) +++ trunk/sat-solver/src/solver.h Tue Apr 22 15:38:58 2008 @@ -220,11 +220,6 @@ /* XXX: why is this not static? */ Id *create_decisions_obsoletesmap(Solver *solv); -/* debug functions, do not use */ -void printdecisions(Solver *solv); -void printsolutions(Solver *solv, Queue *job); - - static inline int solver_dep_fulfilled(Solver *solv, Id dep) { Modified: trunk/sat-solver/testsuite/deptestomatic.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/deptestomatic.c?rev=9780&r1=9779&r2=9780&view=diff ============================================================================== --- trunk/sat-solver/testsuite/deptestomatic.c (original) +++ trunk/sat-solver/testsuite/deptestomatic.c Tue Apr 22 15:38:58 2008 @@ -31,6 +31,7 @@ #include <zlib.h> #include "solver.h" +#include "solverdebug.h" #include "repo_solv.h" #include "repo_helix.h" #include "poolarch.h" @@ -1395,7 +1396,7 @@ solver_solve( solv, &pd->trials ); // print result if (solv->problems.count) - printsolutions(solv, &pd->trials); + solver_printsolutions(solv, &pd->trials); else rc_printdecisions(solv, &pd->trials); // clean up Modified: trunk/sat-solver/testsuite/yps.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/yps.c?rev=9780&r1=9779&r2=9780&view=diff ============================================================================== --- trunk/sat-solver/testsuite/yps.c (original) +++ trunk/sat-solver/testsuite/yps.c Tue Apr 22 15:38:58 2008 @@ -27,6 +27,7 @@ #include "poolarch.h" #include "repo_solv.h" #include "solver.h" +#include "solverdebug.h" #include "policy.h" #include "evr.h" @@ -76,7 +77,7 @@ solution_callback(Solver *solv, void *data) { printf("*** Found another decision:\n"); - printdecisions(solv); + solver_printdecisions(solv); return 0; } @@ -374,9 +375,9 @@ solv->solution_callback = solution_callback; solver_solve(solv, &job); if (solv->problems.count) - printsolutions(solv, &job); + solver_printsolutions(solv, &job); printf("transaction:\n"); - printdecisions(solv); + solver_printdecisions(solv); if (1) { DUChanges duc[4]; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org