migration: make function static
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Dec 2012 10:29:03 +0000 (11:29 +0100)
committerJuan Quintela <quintela@redhat.com>
Thu, 17 Jan 2013 12:54:16 +0000 (13:54 +0100)
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>
include/migration/migration.h
migration.c

index 2d5b630cce7f68adbd927bbc1cab9fa3db6c1f7e..95261c188692c58ca662a99ef277b0b9c788e0bd 100644 (file)
@@ -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);
index d6ec3e8fdc1307eafd8bfa61cebc4ca8e8ed469f..1f4c6ee16f5215add2adc84ee43ff88501eb00ea 100644 (file)
@@ -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;