From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ0kF-000773-62 for qemu-devel@nongnu.org; Tue, 02 Oct 2012 07:34:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ0k9-00086s-Gm for qemu-devel@nongnu.org; Tue, 02 Oct 2012 07:34:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ0k9-00086j-9o for qemu-devel@nongnu.org; Tue, 02 Oct 2012 07:34:29 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q92BYSJp018233 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 2 Oct 2012 07:34:28 -0400 From: Juan Quintela Date: Tue, 2 Oct 2012 13:33:34 +0200 Message-Id: <1349177616-5341-40-git-send-email-quintela@redhat.com> In-Reply-To: <1349177616-5341-1-git-send-email-quintela@redhat.com> References: <1349177616-5341-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PATCH 39/41] savevm: un-export qemu_file_set_error() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela Reviewed-by: Paolo Bonzini --- qemu-file.h | 1 - savevm.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qemu-file.h b/qemu-file.h index 289849a..8dd9207 100644 --- a/qemu-file.h +++ b/qemu-file.h @@ -103,7 +103,6 @@ int qemu_file_rate_limit(QEMUFile *f); int64_t qemu_file_set_rate_limit(QEMUFile *f, int64_t new_rate); int64_t qemu_file_get_rate_limit(QEMUFile *f); int qemu_file_get_error(QEMUFile *f); -void qemu_file_set_error(QEMUFile *f, int error); /* Try to send any outstanding data. This function is useful when output is * halted due to rate limiting or EAGAIN errors occur as it can be used to diff --git a/savevm.c b/savevm.c index 59ec8bf..68c0464 100644 --- a/savevm.c +++ b/savevm.c @@ -440,7 +440,7 @@ int qemu_file_get_error(QEMUFile *f) return f->last_error; } -void qemu_file_set_error(QEMUFile *f, int ret) +static void qemu_file_set_error(QEMUFile *f, int ret) { f->last_error = ret; } -- 1.7.11.4