Skip to content

Commit

Permalink
savevm: unexport qemu_ftell()
Browse files Browse the repository at this point in the history
It was unused out of savevm.c.

Signed-off-by: Juan Quintela <quintela@redhat.com>
  • Loading branch information
Juan Quintela committed Oct 17, 2012
1 parent 29eee86 commit 3aee4be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions qemu-file.h
Expand Up @@ -230,7 +230,4 @@ static inline void qemu_get_sbe64s(QEMUFile *f, int64_t *pv)
{
qemu_get_be64s(f, (uint64_t *)pv);
}

int64_t qemu_ftell(QEMUFile *f);

#endif
2 changes: 1 addition & 1 deletion savevm.c
Expand Up @@ -664,7 +664,7 @@ int qemu_get_byte(QEMUFile *f)
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;
}
Expand Down

0 comments on commit 3aee4be

Please sign in to comment.