diff options
-rw-r--r-- | include/migration/migration.h | 2 | ||||
-rw-r--r-- | migration.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h index 2d5b630cce..95261c1886 100644 --- a/include/migration/migration.h +++ b/include/migration/migration.h @@ -87,8 +87,6 @@ void migrate_fd_error(MigrationState *s); void migrate_fd_connect(MigrationState *s); -ssize_t migrate_fd_put_buffer(MigrationState *s, const void *data, - size_t size); int migrate_fd_close(MigrationState *s); void add_migration_state_change_notifier(Notifier *notify); diff --git a/migration.c b/migration.c index d6ec3e8fdc..1f4c6ee16f 100644 --- a/migration.c +++ b/migration.c @@ -302,8 +302,8 @@ static void migrate_fd_completed(MigrationState *s) notifier_list_notify(&migration_state_notifiers, s); } -ssize_t migrate_fd_put_buffer(MigrationState *s, const void *data, - size_t size) +static ssize_t migrate_fd_put_buffer(MigrationState *s, const void *data, + size_t size) { ssize_t ret; |