mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/json/generator/generator.c (fbuffer_free): removed unused function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
06e935a126
commit
b117475e18
2 changed files with 0 additions and 6 deletions
|
@ -317,11 +317,6 @@ static void fbuffer_free(FBuffer *fb)
|
|||
ruby_xfree(fb);
|
||||
}
|
||||
|
||||
static void fbuffer_free_only_buffer(FBuffer *fb)
|
||||
{
|
||||
ruby_xfree(fb);
|
||||
}
|
||||
|
||||
static void fbuffer_clear(FBuffer *fb)
|
||||
{
|
||||
fb->len = 0;
|
||||
|
|
|
@ -67,7 +67,6 @@ static char *fstrndup(const char *ptr, int len);
|
|||
static FBuffer *fbuffer_alloc();
|
||||
static FBuffer *fbuffer_alloc_with_length(unsigned initial_length);
|
||||
static void fbuffer_free(FBuffer *fb);
|
||||
static void fbuffer_free_only_buffer(FBuffer *fb);
|
||||
static void fbuffer_clear(FBuffer *fb);
|
||||
static void fbuffer_append(FBuffer *fb, const char *newstr, unsigned int len);
|
||||
static void fbuffer_append_long(FBuffer *fb, long number);
|
||||
|
|
Loading…
Reference in a new issue