savevm: unexport qemu_ftell()

It was unused out of savevm.c.

Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
Juan Quintela 2012-08-29 19:16:56 +02:00
parent 29eee86f31
commit 3aee4be1de
2 changed files with 1 additions and 4 deletions

View File

@ -230,7 +230,4 @@ static inline void qemu_get_sbe64s(QEMUFile *f, int64_t *pv)
{ {
qemu_get_be64s(f, (uint64_t *)pv); qemu_get_be64s(f, (uint64_t *)pv);
} }
int64_t qemu_ftell(QEMUFile *f);
#endif #endif

View File

@ -664,7 +664,7 @@ int qemu_get_byte(QEMUFile *f)
return result; return result;
} }
int64_t qemu_ftell(QEMUFile *f) static int64_t qemu_ftell(QEMUFile *f)
{ {
return f->buf_offset - f->buf_size + f->buf_index; return f->buf_offset - f->buf_size + f->buf_index;
} }