From: Denis Ollier Date: Sat, 1 Jul 2017 06:39:15 +0000 (+0200) Subject: Fix compilation warnings X-Git-Tag: 0.6.29~28^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F214%2Fhead;p=thirdparty%2Flibsolv.git Fix compilation warnings examples/solv/repoinfo_download.c:95:18: warning: implicit declaration of function 'yum_substitute' [-Wimplicit-function-declaration] char *b = yum_substitute(cinfo->repo->pool, cinfo->baseurl); ^~~~~~~~~~~~~~ examples/solv/repoinfo_download.c:95:18: warning: initialization makes pointer from integer without a cast [-Wint-conversion] --- diff --git a/examples/solv/repoinfo_download.c b/examples/solv/repoinfo_download.c index 5ba30146..7b0f6cb6 100644 --- a/examples/solv/repoinfo_download.c +++ b/examples/solv/repoinfo_download.c @@ -13,6 +13,7 @@ #include "repoinfo.h" #include "mirror.h" #include "checksig.h" +#include "repoinfo_config_yum.h" #include "repoinfo_download.h" static inline int