mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
savevm: unexport qemu_ftell()
It was unused out of savevm.c. Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
29eee86f31
commit
3aee4be1de
2 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
2
savevm.c
2
savevm.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue