Marked hsts should_secure_host function as inline.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 9 Jun 2014 17:46:04 +0000 (19:46 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 9 Jun 2014 17:46:04 +0000 (19:46 +0200)
src/hsts.c

index 309a2cd..1e09c9e 100644 (file)
@@ -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);