diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:43:59 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:43:59 -0800 |
commit | c27f813900a3c114562efbb8df1065e94766fc48 (patch) | |
tree | d95919283707dcab61009e27007374a745c9541e /cbuffer.c | |
parent | 0852ad57fa372f9b2854e4df685eaba8d8ef6790 (diff) | |
download | external_qemu-c27f813900a3c114562efbb8df1065e94766fc48.zip external_qemu-c27f813900a3c114562efbb8df1065e94766fc48.tar.gz external_qemu-c27f813900a3c114562efbb8df1065e94766fc48.tar.bz2 |
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'cbuffer.c')
-rw-r--r-- | cbuffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ ** GNU General Public License for more details. */ #include "cbuffer.h" -#include "android_utils.h" +#include "android/utils/stralloc.h" #include <string.h> #include <stdlib.h> #include <assert.h> @@ -188,7 +188,7 @@ cbuffer_quote( CBuffer* cb ) stralloc_format( s, "cbuffer %p (pos=%d count=%d size=%d)", cb, cb->rpos, cb->count, cb->size ); - q = tempstr_from_stralloc( s ); + q = stralloc_to_tempstr( s ); stralloc_reset(s); return q; @@ -216,7 +216,7 @@ cbuffer_quote_data( CBuffer* cb ) len -= avail; } - result = tempstr_from_stralloc(s); + result = stralloc_to_tempstr(s); stralloc_reset(s); return result; |