aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-08-29 19:16:56 +0200
committerJuan Quintela <quintela@redhat.com>2012-10-17 18:34:59 +0200
commit3aee4be1de440de08ef68b936e51e028a9f6f6ab (patch)
treed82b23f03e7b73af23237aa99b4a004afb0ce683
parent29eee86f312a7351b0e694e48b435084355630f7 (diff)
savevm: unexport qemu_ftell()
It was unused out of savevm.c. Signed-off-by: Juan Quintela <quintela@redhat.com>
-rw-r--r--qemu-file.h3
-rw-r--r--savevm.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/qemu-file.h b/qemu-file.h
index 7fe7274d1f..289849a789 100644
--- a/qemu-file.h
+++ b/qemu-file.h
@@ -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
diff --git a/savevm.c b/savevm.c
index ba69b44c8b..32fe7a2067 100644
--- a/savevm.c
+++ b/savevm.c
@@ -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;
}