Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-12-14 06:27:53 +0400
committerVicent Marti <tanoku@gmail.com>2011-12-14 06:27:53 +0400
commitbf6d2717ab3b1a23ac7bd7f400518bbd6845c2f1 (patch)
tree8004bbebff4d0d76a347eb868981bc5f8eea079d /src/buffer.c
parent7af26f8f5816ba602a30bbc1c8eb8eced1247bd6 (diff)
buffer: inline `git_buf_cstr`
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;