[Spice-devel] [PATCH 2/2] record: Make red_record_cursor_cmd static

Jonathon Jongsma jjongsma at redhat.com
Tue Jun 7 20:36:30 UTC 2016


Acked-by: Jonathon Jongsma <jjongsma at redhat.com>


On Mon, 2016-06-06 at 09:56 +0100, Frediano Ziglio wrote:
> This function is never used outside this compile unit.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/red-record-qxl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/red-record-qxl.c b/server/red-record-qxl.c
> index 5673f7d..9b7d2af 100644
> --- a/server/red-record-qxl.c
> +++ b/server/red-record-qxl.c
> @@ -763,8 +763,8 @@ static void red_record_cursor(FILE *fd, RedMemSlotInfo
> *slots, int group_id,
>                                     &qxl->chunk);
>  }
>  
> -void red_record_cursor_cmd(FILE *fd, RedMemSlotInfo *slots, int group_id,
> -                           QXLPHYSICAL addr)
> +static void red_record_cursor_cmd(FILE *fd, RedMemSlotInfo *slots, int
> group_id,
> +                                  QXLPHYSICAL addr)
>  {
>      QXLCursorCmd *qxl;
>      int error;


More information about the Spice-devel mailing list