Commit 6f121ff5 authored by Juan Quintela's avatar Juan Quintela
Browse files

savevm: un-export qemu_file_set_error()


Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 43be3a25
......@@ -103,7 +103,6 @@ int qemu_file_rate_limit(QEMUFile *f);
int64_t qemu_file_set_rate_limit(QEMUFile *f, int64_t new_rate);
int64_t qemu_file_get_rate_limit(QEMUFile *f);
int qemu_file_get_error(QEMUFile *f);
void qemu_file_set_error(QEMUFile *f, int error);
/* Try to send any outstanding data. This function is useful when output is
* halted due to rate limiting or EAGAIN errors occur as it can be used to
......
......@@ -440,7 +440,7 @@ int qemu_file_get_error(QEMUFile *f)
return f->last_error;
}
void qemu_file_set_error(QEMUFile *f, int ret)
static void qemu_file_set_error(QEMUFile *f, int ret)
{
f->last_error = ret;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment