diff options
-rw-r--r-- | qemu-file.h | 3 | ||||
-rw-r--r-- | savevm.c | 2 |
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 @@ -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; } |