mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2025-04-21 12:27:27 +03:00
qpkg: use "val" field of jrb nodes instead of keeping one in "struct id"
- id.h (struct id), id.c (make_id): remove field "value" - gobble.c (compact_pkg, gobble_buf), prereq.c (list_all_packages, list_one_package, find_prereq): use id->jrb->val instead of id->value
This commit is contained in:
@@ -175,7 +175,7 @@ static int level = 0;
|
||||
dep = next_dep->refs;
|
||||
next_dep = next_dep->next;
|
||||
}
|
||||
for (pkg = dep->pkg->value; pkg; pkg = pkg->more) {
|
||||
for (pkg = dep->pkg->jrb->val; pkg; pkg = pkg->more) {
|
||||
if (best && n_stack == n_best)
|
||||
return;
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user