From: Sébastien Marie Date: Mon, 27 Oct 2014 16:18:51 +0000 (+0100) Subject: keep prototype consistant with declaration X-Git-Url: https://git.owens.tech/rss.xml/rss.xml/git?a=commitdiff_plain;h=26f078663f36fd3d4a1656158a0301591ad344a9;p=vimb.git keep prototype consistant with declaration remove compilation warning: src/hsts.c:49: warning: 'should_secure_host' declared inline after being called src/hsts.c:49: warning: previous declaration of 'should_secure_host' was here --- diff --git a/src/hsts.c b/src/hsts.c index c579cfd..ef135e2 100644 --- a/src/hsts.c +++ b/src/hsts.c @@ -45,7 +45,7 @@ typedef struct { static void hsts_provider_class_init(HSTSProviderClass *klass); static void hsts_provider_init(HSTSProvider *self); static void hsts_provider_finalize(GObject* obj); -static gboolean should_secure_host(HSTSProvider *provider, +static inline gboolean should_secure_host(HSTSProvider *provider, const char *host); static void process_hsts_header(SoupMessage *msg, gpointer data); static void parse_hsts_header(HSTSProvider *provider,