aboutsummaryrefslogtreecommitdiffstats
path: root/cbuffer.c
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:43:59 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:43:59 -0800
commitc27f813900a3c114562efbb8df1065e94766fc48 (patch)
treed95919283707dcab61009e27007374a745c9541e /cbuffer.c
parent0852ad57fa372f9b2854e4df685eaba8d8ef6790 (diff)
downloadexternal_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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cbuffer.c b/cbuffer.c
index 082b0dd..0e99237 100644
--- a/cbuffer.c
+++ b/cbuffer.c
@@ -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;