contains_slug_char declare

This commit is contained in:
c9s 2014-06-02 05:53:39 +08:00
parent fcc00deadb
commit c801164c88

View file

@ -13,6 +13,8 @@
#include "slug.h" #include "slug.h"
#include "zmalloc.h" #include "zmalloc.h"
inline int contains_slug_char(const char * str);
inline int contains_slug_char(const char * str) { inline int contains_slug_char(const char * str) {
return strchr(str, '{') != NULL ? 1 : 0; return strchr(str, '{') != NULL ? 1 : 0;
} }