From: Daniel Carl <danielcarl@gmx.de>
Date: Mon, 9 Jun 2014 17:46:04 +0000 (+0200)
Subject: Marked hsts should_secure_host function as inline.
X-Git-Url: https://git.owens.tech/assets/wrapped.html/assets/wrapped.html/git?a=commitdiff_plain;h=d4748d56c167f8e26feaf4dd050c3e65c42c8e62;p=vimb.git

Marked hsts should_secure_host function as inline.
---

diff --git a/src/hsts.c b/src/hsts.c
index 309a2cd..1e09c9e 100644
--- a/src/hsts.c
+++ b/src/hsts.c
@@ -145,7 +145,7 @@ static void hsts_provider_finalize(GObject* obj)
 /**
  * Checks if given host is a known https host according to RFC 6797 8.2f
  */
-static gboolean should_secure_host(HSTSProvider *provider,
+static inline gboolean should_secure_host(HSTSProvider *provider,
     const char *host)
 {
     HSTSProviderPrivate *priv = HSTS_PROVIDER_GET_PRIVATE(provider);