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 6aa5d5d..c0429a1 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 f109f86..30a0feb 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 */