projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29eee86
)
savevm: unexport qemu_ftell()
author
Juan Quintela
<quintela@redhat.com>
Wed, 29 Aug 2012 17:16:56 +0000
(19:16 +0200)
committer
Juan Quintela
<quintela@redhat.com>
Wed, 17 Oct 2012 16:34:59 +0000
(18:34 +0200)
It was unused out of savevm.c.
Signed-off-by: Juan Quintela <quintela@redhat.com>
qemu-file.h
patch
|
blob
|
history
savevm.c
patch
|
blob
|
history
diff --git
a/qemu-file.h
b/qemu-file.h
index 7fe7274d1f359ae3ea4e19aac39ab6bbda602664..289849a789ae1e7b22095f5d1664dd6782eded0a 100644
(file)
--- 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 ba69b44c8b37efb7ed82ed4aa577a46f36100ffb..32fe7a20675310204fe23978529cf7c7761ab550 100644
(file)
--- 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;
}