summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2015-06-07 15:01:43 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2015-06-07 21:42:15 +0200
commitb0a0cabbee704740169c9e493d61fcf786251601 (patch)
tree27ae3c87e34b4a43b736aa568b1f2492e13e533d /src/buffer.h
parent09cee35add8c8686a3982f3f31de283450b625eb (diff)
Remove unused function cmark_strbuf_attach
This function was missing a couple of range checks that I'm too lazy to fix.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 526276d..d125207 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -42,7 +42,6 @@ size_t cmark_strbuf_len(const cmark_strbuf *buf);
int cmark_strbuf_cmp(const cmark_strbuf *a, const cmark_strbuf *b);
-void cmark_strbuf_attach(cmark_strbuf *buf, unsigned char *ptr, bufsize_t asize);
unsigned char *cmark_strbuf_detach(cmark_strbuf *buf);
void cmark_strbuf_copy_cstr(char *data, bufsize_t datasize, const cmark_strbuf *buf);