diff options
author | Laszlo Ersek <lersek@redhat.com> | 2023-07-06 12:29:37 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-07-08 07:24:38 +0300 |
commit | aaf26bd382b84c6d34390d092ff24bc8fa575f78 (patch) | |
tree | 597dd2a960ec78e2cd94c9abe8f44c18f0ccd1d9 /migration/migration.c | |
parent | 8c69ae9eff3c4c3432a3846c2444a1c36044b61b (diff) | |
download | qemu-aaf26bd382b84c6d34390d092ff24bc8fa575f78.zip qemu-aaf26bd382b84c6d34390d092ff24bc8fa575f78.tar.gz qemu-aaf26bd382b84c6d34390d092ff24bc8fa575f78.tar.bz2 |
migration: unexport migrate_fd_error()
The only migrate_fd_error() call sites are in "migration/migration.c",
which is also where we define migrate_fd_error(). Make the function
static, and remove its declaration from "migration/migration.h".
Cc: Juan Quintela <quintela@redhat.com> (maintainer:Migration)
Cc: Leonardo Bras <leobras@redhat.com> (reviewer:Migration)
Cc: Peter Xu <peterx@redhat.com> (reviewer:Migration)
Cc: qemu-trivial@nongnu.org
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2018404
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'migration/migration.c')
-rw-r--r-- | migration/migration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/migration.c b/migration/migration.c index a60a5ac..91bba63 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1220,7 +1220,7 @@ static void migrate_error_free(MigrationState *s) } } -void migrate_fd_error(MigrationState *s, const Error *error) +static void migrate_fd_error(MigrationState *s, const Error *error) { trace_migrate_fd_error(error_get_pretty(error)); assert(s->to_dst_file == NULL); |