1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2025-04-21 12:27:27 +03:00

qpkg: moved comp_versions from prereq.c to id.c

- id.c: added section titles
- prereq.c (comp_versions), id.h, id.c: moved comp_versions from prereq.c
  to id.c, to allow sharing with other code
This commit is contained in:
Werner Almesberger
2010-11-21 21:14:04 -03:00
parent a0c0e854cc
commit dd8bb6eecd
3 changed files with 70 additions and 62 deletions

View File

@@ -68,6 +68,7 @@ struct id {
int comp_id(const void *a, const void *b);
int comp_versions(const struct id *va, const struct id *vb);
struct tree *make_tree(int (*comp)(const void *a, const void *b));
struct jrb *make_id(struct tree *tree, const char *s, size_t len);