summaryrefslogtreecommitdiffstats
path: root/buf.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-07-05 06:43:02 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-07-05 06:43:02 -0700
commitca78023b2bbd0c5996d2f21cd97a379e929929a7 (patch)
treea0bac9cd09d53c5497bb7461028817fff081d0f0 /buf.c
parent5a3b0bba720a3edf72a6c85010727078ce985413 (diff)
downloadtxr-ca78023b2bbd0c5996d2f21cd97a379e929929a7.tar.gz
txr-ca78023b2bbd0c5996d2f21cd97a379e929929a7.tar.bz2
txr-ca78023b2bbd0c5996d2f21cd97a379e929929a7.zip
buffers: remove unused buf_fill function.
* buf.c, buf.h (buf_fill): Removed.
Diffstat (limited to 'buf.c')
-rw-r--r--buf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/buf.c b/buf.c
index e991b72a..d95a9033 100644
--- a/buf.c
+++ b/buf.c
@@ -235,12 +235,6 @@ mem_t *buf_get(val buf, val self)
return b->data;
}
-void buf_fill(val buf, mem_t *src, val self)
-{
- struct buf *b = buf_handle(buf, self);
- memcpy(b->data, src, c_num(b->len));
-}
-
val sub_buf(val buf, val from, val to)
{
struct buf *b = buf_handle(buf, lit("sub"));