summaryrefslogtreecommitdiff
path: root/src/html_smartypants.c
diff options
context:
space:
mode:
authorDevin Torres <devin@devintorr.es>2014-10-18 18:33:34 -0500
committerDevin Torres <devin@devintorr.es>2014-10-18 18:33:34 -0500
commit9aa8c8acf1b851986cf67650797d456cfa6ad1a5 (patch)
treee145f570911486667abf45bf0bb8ed117c1e61fd /src/html_smartypants.c
parent4e1b16cfab1f99191f5dd9b9498df4162fd44ff9 (diff)
downloadrust-hoedown-9aa8c8acf1b851986cf67650797d456cfa6ad1a5.tar.gz
Use a stricter subset of C
Diffstat (limited to 'src/html_smartypants.c')
-rw-r--r--src/html_smartypants.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html_smartypants.c b/src/html_smartypants.c
index 9f9dcf0..bbe4fc5 100644
--- a/src/html_smartypants.c
+++ b/src/html_smartypants.c
@@ -60,7 +60,7 @@ static const uint8_t smartypants_cb_chars[UINT8_MAX+1] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
-static inline int
+static int
word_boundary(uint8_t c)
{
return c == 0 || isspace(c) || ispunct(c);