1 |
commit: e0639a1f8654092654520762b58a122506a1fa72 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 23 07:12:20 2021 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 23 07:12:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=e0639a1f |
7 |
|
8 |
libq/tree: correct macro for tree_foreach_pkg |
9 |
|
10 |
drop the trailing ; to allow the call to be embedded |
11 |
|
12 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
13 |
|
14 |
libq/tree.h | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/libq/tree.h b/libq/tree.h |
18 |
index 0aa534d..052715b 100644 |
19 |
--- a/libq/tree.h |
20 |
+++ b/libq/tree.h |
21 |
@@ -154,9 +154,9 @@ void tree_close_pkg(tree_pkg_ctx *pkg_ctx); |
22 |
int tree_foreach_pkg(tree_ctx *ctx, tree_pkg_cb callback, void *priv, |
23 |
bool sort, const depend_atom *query); |
24 |
#define tree_foreach_pkg_fast(ctx, cb, priv, query) \ |
25 |
- tree_foreach_pkg(ctx, cb, priv, false, query); |
26 |
+ tree_foreach_pkg(ctx, cb, priv, false, query) |
27 |
#define tree_foreach_pkg_sorted(ctx, cb, priv, query) \ |
28 |
- tree_foreach_pkg(ctx, cb, priv, true, query); |
29 |
+ tree_foreach_pkg(ctx, cb, priv, true, query) |
30 |
set *tree_get_atoms(tree_ctx *ctx, bool fullcpv, set *satoms); |
31 |
depend_atom *tree_get_atom(tree_pkg_ctx *pkg_ctx, bool complete); |
32 |
tree_match_ctx *tree_match_atom(tree_ctx *t, const depend_atom *q, int flags); |