strv: constify arguments for strv_equal_ignore_order()
Follow-up for 5072f4268b.
This commit is contained in:
+1
-1
@@ -861,7 +861,7 @@ int strv_compare(char * const *a, char * const *b) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool strv_equal_ignore_order(char **a, char **b) {
|
||||
bool strv_equal_ignore_order(char * const *a, char * const *b) {
|
||||
|
||||
/* Just like strv_equal(), but doesn't care about the order of elements or about redundant entries
|
||||
* (i.e. it's even ok if the number of entries in the array differ, as long as the difference just
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ static inline bool strv_equal(char * const *a, char * const *b) {
|
||||
return strv_compare(a, b) == 0;
|
||||
}
|
||||
|
||||
bool strv_equal_ignore_order(char **a, char **b);
|
||||
bool strv_equal_ignore_order(char * const *a, char * const *b);
|
||||
|
||||
char** strv_new_internal(const char *x, ...) _sentinel_;
|
||||
char** strv_new_ap(const char *x, va_list ap);
|
||||
|
||||
Reference in New Issue
Block a user