diff options
author | Juan Quintela <quintela@redhat.com> | 2012-08-30 13:37:56 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-10-17 18:34:59 +0200 |
commit | 6f121ff575e1601d652f3eecf4f9ab1205c12df1 (patch) | |
tree | 32bf45897b8bc5e2468778c87a5ee16bbc138ed4 | |
parent | 43be3a25c931a7f61a76fbfc9d35584cbfc5fb58 (diff) | |
download | qemu-6f121ff575e1601d652f3eecf4f9ab1205c12df1.zip qemu-6f121ff575e1601d652f3eecf4f9ab1205c12df1.tar.gz qemu-6f121ff575e1601d652f3eecf4f9ab1205c12df1.tar.bz2 |
savevm: un-export qemu_file_set_error()
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | qemu-file.h | 1 | ||||
-rw-r--r-- | savevm.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/qemu-file.h b/qemu-file.h index 289849a..8dd9207 100644 --- a/qemu-file.h +++ b/qemu-file.h @@ -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; } |