migration: unexport migrate_fd_error()
commitaaf26bd382b84c6d34390d092ff24bc8fa575f78
authorLaszlo Ersek <lersek@redhat.com>
Thu, 6 Jul 2023 10:29:37 +0000 (6 12:29 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 8 Jul 2023 04:24:38 +0000 (8 07:24 +0300)
tree597dd2a960ec78e2cd94c9abe8f44c18f0ccd1d9
parent8c69ae9eff3c4c3432a3846c2444a1c36044b61b
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>
migration/migration.c
migration/migration.h