From 26f078663f36fd3d4a1656158a0301591ad344a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Marie?= Date: Mon, 27 Oct 2014 17:18:51 +0100 Subject: [PATCH] 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 --- src/hsts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1