projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adea875
)
More const
author
Klaus Kämpf
<kkaempf@suse.de>
Mon, 22 Jun 2009 13:44:16 +0000
(15:44 +0200)
committer
Klaus Kämpf
<kkaempf@suse.de>
Mon, 22 Jun 2009 13:44:16 +0000
(15:44 +0200)
src/pool.h
patch
|
blob
|
history
diff --git
a/src/pool.h
b/src/pool.h
index
e8b0fe0
..
c24ecc5
100644
(file)
--- a/
src/pool.h
+++ b/
src/pool.h
@@
-184,7
+184,7
@@
extern Id pool_add_solvable(Pool *pool);
extern Id pool_add_solvable_block(Pool *pool, int count);
extern void pool_free_solvable_block(Pool *pool, Id start, int count, int reuseids);
-static inline Solvable *pool_id2solvable(Pool *pool, Id p)
+static inline Solvable *pool_id2solvable(
const
Pool *pool, Id p)
{
return pool->solvables + p;
}