From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF2bd-00018H-BO for qemu-devel@nongnu.org; Fri, 21 Sep 2012 08:45:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF2bW-0001I9-64 for qemu-devel@nongnu.org; Fri, 21 Sep 2012 08:45:17 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:61747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF2bV-0000u1-W6 for qemu-devel@nongnu.org; Fri, 21 Sep 2012 08:45:10 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp12so7605089pbb.4 for ; Fri, 21 Sep 2012 05:45:09 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <505C6150.4030301@redhat.com> Date: Fri, 21 Sep 2012 14:45:04 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1348217255-22441-1-git-send-email-quintela@redhat.com> <1348217255-22441-28-git-send-email-quintela@redhat.com> In-Reply-To: <1348217255-22441-28-git-send-email-quintela@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 27/41] savevm: unexport qemu_fflush 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: > It is not used outside of savevm.c > > 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 31b83f6..d8487cd 100644 > --- a/qemu-file.h > +++ b/qemu-file.h > @@ -71,7 +71,6 @@ QEMUFile *qemu_fopen_socket(int fd); > QEMUFile *qemu_popen(FILE *popen_file, const char *mode); > QEMUFile *qemu_popen_cmd(const char *command, const char *mode); > int qemu_stdio_fd(QEMUFile *f); > -void qemu_fflush(QEMUFile *f); > int qemu_fclose(QEMUFile *f); > void qemu_put_buffer(QEMUFile *f, const uint8_t *buf, int size); > void qemu_put_byte(QEMUFile *f, int v); > diff --git a/savevm.c b/savevm.c > index c7fe283..1ec6ff1 100644 > --- a/savevm.c > +++ b/savevm.c > @@ -461,7 +461,7 @@ static void qemu_file_set_if_error(QEMUFile *f, int ret) > * > * In case of error, last_error is set. > */ > -void qemu_fflush(QEMUFile *f) > +static void qemu_fflush(QEMUFile *f) > { > if (!f->put_buffer) > return; > Reviewed-by: Paolo Bonzini