summaryrefslogtreecommitdiff
path: root/src/cmark.c
diff options
context:
space:
mode:
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) {