Skip to content

Commit

Permalink
savevm: unexport qemu_fflush
Browse files Browse the repository at this point in the history
It is not used outside of savevm.c

Signed-off-by: Juan Quintela <quintela@redhat.com>

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
Juan Quintela committed Oct 17, 2012
1 parent 9499743 commit ffbfc74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion qemu-file.h
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion savevm.c
Expand Up @@ -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;
Expand Down

0 comments on commit ffbfc74

Please sign in to comment.