From c801164c8879a7b0b06b0d48956af5301b9fd83e Mon Sep 17 00:00:00 2001 From: c9s Date: Mon, 2 Jun 2014 05:53:39 +0800 Subject: [PATCH] contains_slug_char declare --- src/slug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slug.c b/src/slug.c index d19df8a..4714313 100644 --- a/src/slug.c +++ b/src/slug.c @@ -13,6 +13,8 @@ #include "slug.h" #include "zmalloc.h" +inline int contains_slug_char(const char * str); + inline int contains_slug_char(const char * str) { return strchr(str, '{') != NULL ? 1 : 0; }