From: Michael Schroeder Date: Mon, 10 Sep 2018 08:48:30 +0000 (+0200) Subject: Make repo_matchvalue static and remove it from list of exported symbols X-Git-Tag: 0.7.0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e97e9ae2132b3b7a9bc50d39768bdd4f7a87eca;p=thirdparty%2Flibsolv.git Make repo_matchvalue static and remove it from list of exported symbols 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. --- diff --git a/src/libsolv.ver b/src/libsolv.ver index a3fa19a0..5c7c02fd 100644 --- a/src/libsolv.ver +++ b/src/libsolv.ver @@ -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; diff --git a/src/repo.c b/src/repo.c index 9e59fe25..f08ad38c 100644 --- a/src/repo.c +++ b/src/repo.c @@ -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;