summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-13 11:24:26 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-13 11:24:26 -0800
commit225d720d6e9b473c7d6498e811b3f412472cc9ce (patch)
treeb3f1b4f97a43a09dfddd060b0b4f8696e496f739 /src/inlines.c
parent831bf6de49ae58bd3630f40bdb6f8bc5371a33dd (diff)
Removed cmark_ prefix on chunk and strbuf.
This isn't needed any more since we don't expose these in the API.
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 08a934b..2b6f788 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -80,13 +80,13 @@ static inline cmark_node *make_link(cmark_node *label, unsigned char *url, unsig
return e;
}
-static inline cmark_node* make_autolink(cmark_node* label, cmark_chunk url, int is_email)
+static inline cmark_node* make_autolink(cmark_node* label, chunk url, int is_email)
{
return make_link(label, cmark_clean_autolink(&url, is_email), NULL);
}
// Create an inline with a literal string value.
-static inline cmark_node* make_literal(cmark_node_type t, cmark_chunk s)
+static inline cmark_node* make_literal(cmark_node_type t, chunk s)
{
cmark_node * e = (cmark_node *)calloc(1, sizeof(*e));
if(e != NULL) {