Skip to content

Commit

Permalink
savevm: un-export qemu_file_set_error()
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Quintela <quintela@redhat.com>

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
Juan Quintela committed Oct 17, 2012
1 parent 43be3a2 commit 6f121ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion qemu-file.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion savevm.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6f121ff

Please sign in to comment.