libcomps/gcc10.patch

13 lines
572 B
Diff

diff -Nrup a/libcomps/src/comps_objmradix.c b/libcomps/src/comps_objmradix.c
--- a/libcomps/src/comps_objmradix.c 2019-11-25 04:21:01.000000000 -0700
+++ b/libcomps/src/comps_objmradix.c 2019-12-02 11:08:54.738477530 -0700
@@ -605,7 +605,7 @@ inline void comps_objmrtree_pair_destroy
free(pair);
}
-inline COMPS_HSList* __comps_objmrtree_all(COMPS_ObjMRTree * rt, char keyvalpair) {
+static inline COMPS_HSList* __comps_objmrtree_all(COMPS_ObjMRTree * rt, char keyvalpair) {
COMPS_HSList *to_process, *ret;
COMPS_HSListItem *hsit, *oldit;
size_t x;