diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-20 11:29:03 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2013-01-17 13:54:16 +0100 |
commit | b9c961a8ff3973b97964431491bc3f4f427cd66a (patch) | |
tree | 8f80b2588bc780f36e3da65042de0c34db4c8f91 | |
parent | f65a874756bb3e4b57571a33a51d8887bbee7981 (diff) |
migration: make function static
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Reviewed-by: Eric Blake <eblake@redhat.com>
-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; |