summaryrefslogtreecommitdiff
path: root/src/cmark.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-01-03 22:10:33 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-03 22:10:33 -0800
commitfb6356e3aa7696183f6cbcb99e521ab74260124a (patch)
tree641555d5769cd242958da14049b5ecb77b5833ba /src/cmark.c
parent5a3f747222d48422eb1d4e5c60cc5a042808fd0d (diff)
Revert "More sourcepos! (#169)"
This reverts commit 9e643720ec903f3b448bd2589a0c02c2514805ae.
Diffstat (limited to 'src/cmark.c')
-rw-r--r--src/cmark.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cmark.c b/src/cmark.c
index 2ef6cb4..0d3bc16 100644
--- a/src/cmark.c
+++ b/src/cmark.c
@@ -24,11 +24,6 @@ static void *xrealloc(void *ptr, size_t size) {
return new_ptr;
}
-void cmark_default_mem_free(void *ptr)
-{
- free(ptr);
-}
-
cmark_mem DEFAULT_MEM_ALLOCATOR = {xcalloc, xrealloc, free};
char *cmark_markdown_to_html(const char *text, size_t len, int options) {