Il 21/09/2012 10:47, Juan Quintela ha scritto:
> It was unused out of savevm.c.
> 
> Signed-off-by: Juan Quintela <quint...@redhat.com>
> ---
>  qemu-file.h | 3 ---
>  savevm.c    | 2 +-
>  2 files changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/qemu-file.h b/qemu-file.h
> index 7fe7274..289849a 100644
> --- a/qemu-file.h
> +++ b/qemu-file.h
> @@ -230,7 +230,4 @@ static inline void qemu_get_sbe64s(QEMUFile *f, int64_t 
> *pv)
>  {
>      qemu_get_be64s(f, (uint64_t *)pv);
>  }
> -
> -int64_t qemu_ftell(QEMUFile *f);
> -
>  #endif
> diff --git a/savevm.c b/savevm.c
> index 8efa7cc..8ddb9d5 100644
> --- a/savevm.c
> +++ b/savevm.c
> @@ -664,7 +664,7 @@ int qemu_get_byte(QEMUFile *f)
>      return result;
>  }
> 
> -int64_t qemu_ftell(QEMUFile *f)
> +static int64_t qemu_ftell(QEMUFile *f)
>  {
>      return f->buf_offset - f->buf_size + f->buf_index;
>  }
> 

static inline?

Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>


Reply via email to