[PATCH 3/3] replay: rename red_record_dev_input_primary_surface_create

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rename red_record_dev_input_primary_surface_create to
red_record_primary_surface_create.
Name is more concise and was not clear what "dev_input" was supposed
to specify.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 server/red-record-qxl.c | 5 +++--
 server/red-record-qxl.h | 6 +++---
 server/red-worker.c     | 4 ++--
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/server/red-record-qxl.c b/server/red-record-qxl.c
index c6cd963..39d6639 100644
--- a/server/red-record-qxl.c
+++ b/server/red-record-qxl.c
@@ -790,8 +790,9 @@ void red_record_cursor_cmd(FILE *fd, RedMemSlotInfo *slots, int group_id,
     }
 }
 
-void red_record_dev_input_primary_surface_create(RedRecord *record,
-    QXLDevSurfaceCreate* surface, uint8_t *line_0)
+void red_record_primary_surface_create(RedRecord *record,
+                                       QXLDevSurfaceCreate* surface,
+                                       uint8_t *line_0)
 {
     FILE *fd = record->fd;
 
diff --git a/server/red-record-qxl.h b/server/red-record-qxl.h
index e2a551c..ae22de2 100644
--- a/server/red-record-qxl.h
+++ b/server/red-record-qxl.h
@@ -34,9 +34,9 @@ RedRecord* red_record_new(const char *filename);
 
 void red_record_free(RedRecord *record);
 
-void red_record_dev_input_primary_surface_create(RedRecord *record,
-                                                 QXLDevSurfaceCreate *surface,
-                                                 uint8_t *line_0);
+void red_record_primary_surface_create(RedRecord *record,
+                                       QXLDevSurfaceCreate *surface,
+                                       uint8_t *line_0);
 
 void red_record_event(RedRecord *record, int what, uint32_t type, unsigned long ts);
 
diff --git a/server/red-worker.c b/server/red-worker.c
index 1fcde05..06bf29f 100644
--- a/server/red-worker.c
+++ b/server/red-worker.c
@@ -688,8 +688,8 @@ static void dev_create_primary_surface(RedWorker *worker, uint32_t surface_id,
         return;
     }
     if (worker->record) {
-        red_record_dev_input_primary_surface_create(worker->record,
-                                                    &surface, line_0);
+        red_record_primary_surface_create(worker->record,
+                                          &surface, line_0);
     }
 
     if (surface.stride < 0) {
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]