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

Frediano Ziglio fziglio at redhat.com
Mon Jun 6 08:56:16 UTC 2016


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;
-- 
2.7.4



More information about the Spice-devel mailing list