summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 295b87e1a..27e20d562 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -175,11 +175,6 @@ int git_buf_printf(git_buf *buf, const char *format, ...)
return GIT_SUCCESS;
}
-const char *git_buf_cstr(git_buf *buf)
-{
- return buf->ptr;
-}
-
void git_buf_copy_cstr(char *data, size_t datasize, const git_buf *buf)
{
size_t copylen;