cmark

Unnamed repository; edit this file 'description' to name the repository.

commit bfbda17036768e6793aeebe666141003e3afb014
parent f2c2f626292ac83519bc478271b5678efcf67586
Author: John MacFarlane <jgm@berkeley.edu>
Date:   Fri, 14 Nov 2014 15:49:22 -0800

inline make_autolink.

Diffstat:
Msrc/cmark.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cmark.c b/src/cmark.c
@@ -7,7 +7,7 @@
 #include "cmark.h"
 #include "buffer.h"
 
-extern unsigned char *cmark_markdown_to_html(unsigned char *text, int len)
+unsigned char *cmark_markdown_to_html(unsigned char *text, int len)
 {
 	node_block *blocks;
 	strbuf htmlbuf = GH_BUF_INIT;
@@ -129,7 +129,7 @@ unsigned char *clean_autolink(chunk *url, int is_email)
 	return strbuf_detach(&buf);
 }
 
-cmark_node_inl* cmark_make_autolink(cmark_node_inl* label, chunk url, int is_email)
+inline cmark_node_inl* cmark_make_autolink(cmark_node_inl* label, chunk url, int is_email)
 {
 	return cmark_make_link(label, clean_autolink(&url, is_email), NULL);
 }