summaryrefslogtreecommitdiff
path: root/src/policy.c
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2009-06-22 16:05:40 +0200
committerKlaus Kämpf <kkaempf@suse.de>2009-06-22 16:05:40 +0200
commit1a8630c9ac18740b50023f9372a39065a84d714e (patch)
tree15b9924f07202aeef1aa95803dfaed5f872c69a7 /src/policy.c
parentf0585508965d3ce3a842fe437a33ebc33ac562a8 (diff)
downloadlibsolv-1a8630c9ac18740b50023f9372a39065a84d714e.tar.gz
libsolv-1a8630c9ac18740b50023f9372a39065a84d714e.tar.bz2
libsolv-1a8630c9ac18740b50023f9372a39065a84d714e.zip
More constness
Diffstat (limited to 'src/policy.c')
-rw-r--r--src/policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/policy.c b/src/policy.c
index caddaf6..650da2b 100644
--- a/src/policy.c
+++ b/src/policy.c
@@ -228,7 +228,7 @@ prune_to_recommended(Solver *solv, Queue *plist)
}
void
-prune_to_best_arch(Pool *pool, Queue *plist)
+prune_to_best_arch(const Pool *pool, Queue *plist)
{
Id a, bestscore;
Solvable *s;
@@ -359,7 +359,7 @@ prune_to_best_version(Pool *pool, Queue *plist)
*/
void
-prune_best_arch_name_version(Solver *solv, Pool *pool, Queue *plist)
+prune_best_arch_name_version(const Solver *solv, Pool *pool, Queue *plist)
{
if (solv && solv->bestSolvableCb)
{ /* The application is responsible for */