From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF2jx-0003sa-T6 for qemu-devel@nongnu.org; Fri, 21 Sep 2012 08:53:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF2jp-0004aQ-IK for qemu-devel@nongnu.org; Fri, 21 Sep 2012 08:53:53 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:35111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF2jp-0004aF-CC for qemu-devel@nongnu.org; Fri, 21 Sep 2012 08:53:45 -0400 Received: by padfb10 with SMTP id fb10so433156pad.4 for ; Fri, 21 Sep 2012 05:53:44 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <505C6353.9030100@redhat.com> Date: Fri, 21 Sep 2012 14:53:39 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1348217255-22441-1-git-send-email-quintela@redhat.com> <1348217255-22441-40-git-send-email-quintela@redhat.com> In-Reply-To: <1348217255-22441-40-git-send-email-quintela@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [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: Juan Quintela Cc: qemu-devel@nongnu.org Il 21/09/2012 10:47, Juan Quintela ha scritto: > Signed-off-by: Juan Quintela > --- > 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; > } > Yay. Reviewed-by: Paolo Bonzini