From 62ebd42874f0dc5424496f6286d3c302a966daa3 Mon Sep 17 00:00:00 2001 From: Denis Ollier Date: Sat, 1 Jul 2017 08:39:15 +0200 Subject: [PATCH] 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] --- examples/solv/repoinfo_download.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.2