]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Make repo_matchvalue static and remove it from list of exported symbols
authorMichael Schroeder <mls@suse.de>
Mon, 10 Sep 2018 08:48:30 +0000 (10:48 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 10 Sep 2018 08:54:57 +0000 (10:54 +0200)
It was never declared in a header file. Furthermore it needs
an internal struct definition to work, so nobody from outside
can use it anyway.

src/libsolv.ver
src/repo.c

index a3fa19a082d4b876a9b4bcb3bd915c9eea02c3d2..5c7c02fd476accef4dbfa15d82027b62f23d8b97 100644 (file)
@@ -165,7 +165,6 @@ SOLV_1.0 {
                repo_lookup_str;
                repo_lookup_type;
                repo_lookup_void;
-               repo_matchvalue;
                repo_reserve_ids;
                repo_rewrite_suse_deps;
                repo_search;
index 9e59fe25e991c9cc71cf0db29fb5df40f98254e8..f08ad38c28f6358165927b5956fdafea6b514aa4 100644 (file)
@@ -676,7 +676,7 @@ struct matchdata
   void *callback_data;
 };
 
-int
+static int
 repo_matchvalue(void *cbdata, Solvable *s, Repodata *data, Repokey *key, KeyValue *kv)
 {
   struct matchdata *md = cbdata;