aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-08-28 13:54:06 +0200
committerJuan Quintela <quintela@redhat.com>2012-10-17 18:34:59 +0200
commitffbfc74d1eb822ed086503a6c24413617c19d31a (patch)
tree62aea919ad9424aaba0cfac16807abc0d9dcadaf
parent9499743f36169cf7d974640f123bc29836f75a2d (diff)
savevm: unexport qemu_fflush
It is not used outside of savevm.c Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--qemu-file.h1
-rw-r--r--savevm.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/qemu-file.h b/qemu-file.h
index 31b83f6bb3..d8487cd881 100644
--- a/qemu-file.h
+++ b/qemu-file.h
@@ -71,7 +71,6 @@ QEMUFile *qemu_fopen_socket(int fd);
QEMUFile *qemu_popen(FILE *popen_file, const char *mode);
QEMUFile *qemu_popen_cmd(const char *command, const char *mode);
int qemu_stdio_fd(QEMUFile *f);
-void qemu_fflush(QEMUFile *f);
int qemu_fclose(QEMUFile *f);
void qemu_put_buffer(QEMUFile *f, const uint8_t *buf, int size);
void qemu_put_byte(QEMUFile *f, int v);
diff --git a/savevm.c b/savevm.c
index 31fd2e0ad3..cf5f9477df 100644
--- a/savevm.c
+++ b/savevm.c
@@ -461,7 +461,7 @@ static void qemu_file_set_if_error(QEMUFile *f, int ret)
*
* In case of error, last_error is set.
*/
-void qemu_fflush(QEMUFile *f)
+static void qemu_fflush(QEMUFile *f)
{
if (!f->put_buffer)
return;