Skip to content

Commit d5957da

Browse files
committed
cffi: fix compilation with latest version
Remove field that causes build errors with the latest libyang versions: build/temp.linux-x86_64-cpython-37/_libyang.c:8143:32: error: initialization of ‘struct hash_table **’ from incompatible pointer type ‘struct ly_ht **’ [-Werror=incompatible-pointer-types] children_ht is not used anywhere, remove it. Signed-off-by: Robin Jarry <robin@jarry.cc>
1 parent d5c5cb7 commit d5957da

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cffi/cdefs.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,6 @@ struct lyd_node_inner {
719719
};
720720
};
721721
struct lyd_node *child;
722-
struct hash_table *children_ht;
723722
...;
724723
};
725724

0 commit comments

Comments
 (0)