aboutsummaryrefslogtreecommitdiff
path: root/buffered_file.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-07-20 13:19:36 +0200
committerJuan Quintela <quintela@redhat.com>2012-10-17 18:34:59 +0200
commit11c7674129a81b5b69e00ad252a63186e15bf6b6 (patch)
treef154b439ba0497bf1626c47dc49f47d852ab00da /buffered_file.h
parent749f7909d942f5c7425d0895242ce720cd663e92 (diff)
downloadqemu-11c7674129a81b5b69e00ad252a63186e15bf6b6.zip
qemu-11c7674129a81b5b69e00ad252a63186e15bf6b6.tar.gz
qemu-11c7674129a81b5b69e00ad252a63186e15bf6b6.tar.bz2
buffered_file: unfold migrate_fd_close
We only used it once, just remove the callback indirection. Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'buffered_file.h')
-rw-r--r--buffered_file.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/buffered_file.h b/buffered_file.h
index 926e5c6..8a38754 100644
--- a/buffered_file.h
+++ b/buffered_file.h
@@ -17,10 +17,7 @@
#include "hw/hw.h"
#include "migration.h"
-typedef int (BufferedCloseFunc)(void *opaque);
-
QEMUFile *qemu_fopen_ops_buffered(MigrationState *migration_state,
- size_t xfer_limit,
- BufferedCloseFunc *close);
+ size_t xfer_limit);
#endif