1
0
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:
Werner Almesberger
2010-11-19 22:02:42 -03:00
parent 0cc1dfc938
commit 64c70e77f4
5 changed files with 7 additions and 9 deletions

View File

@@ -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