Skip to content

Commit

Permalink
Make inline function __comps_objmrtree_all also static (RhBug:1793424)
Browse files Browse the repository at this point in the history
The function isn't used anywhere else and doesn't have any other
external definition present in any other translation unit (which is
causing a compiler error).

https://bugzilla.redhat.com/show_bug.cgi?id=1793424
  • Loading branch information
kontura authored and lukash committed Jan 30, 2020
1 parent 3237f44 commit 18f52cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcomps/src/comps_objmradix.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ inline void comps_objmrtree_pair_destroy_v(void * pair) {
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;
Expand Down

0 comments on commit 18f52cb

Please sign in to comment.