keep prototype consistant with declaration
authorSébastien Marie <semarie@users.noreply.github.com>
Mon, 27 Oct 2014 16:18:51 +0000 (17:18 +0100)
committerSébastien Marie <semarie@users.noreply.github.com>
Mon, 27 Oct 2014 16:18:51 +0000 (17:18 +0100)
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

index c579cfd..ef135e2 100644 (file)
@@ -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,