]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
refine_suggestion
authorStefan Schubert <schubi@suse.de>
Thu, 8 Nov 2007 14:55:47 +0000 (14:55 +0000)
committerStefan Schubert <schubi@suse.de>
Thu, 8 Nov 2007 14:55:47 +0000 (14:55 +0000)
archchanges moved to header file. This funktions are needed in libzypp

src/solver.c
src/solver.h

index 6aa5d5d979bcc215f62ca4f074aa66225a4b0f52..c0429a12462ea824701ef8b04ef70439b12a48f6 100644 (file)
@@ -1101,7 +1101,7 @@ addrulesforweak(Solver *solv, Map *m)
   if (pool->verbose) printf("done. (%d)\n", solv->nrules);
 }
 
-static inline int
+int
 archchanges(Pool *pool, Solvable *s1, Solvable *s2)
 {
   Id a1 = s1->arch, a2 = s2->arch;
@@ -2373,7 +2373,7 @@ run_solver(Solver *solv, int disablerules, int doweak)
  * refine_suggestion
  */
   
-static void
+void
 refine_suggestion(Solver *solv, Id *problem, Id sug, Queue *refined)
 {
   Rule *r;
index f109f869c87675e800e6c58d6715d08d192467c4..30a0febbd04e1fd09af40d8a95de03dcd97ae374 100644 (file)
@@ -128,5 +128,7 @@ extern void prune_best_version_arch(Pool *pool, Queue *plist);
 
 void printdecisions(Solver *solv);
 
+void refine_suggestion(Solver *solv, Id *problem, Id sug, Queue *refined);
+int archchanges(Pool *pool, Solvable *s1, Solvable *s2);
 
 #endif /* SOLVER_H */