[virt-tools-list] [PATCH 4/5] Move declaration to the beginning of the file

Eduardo Lima (Etrunko) etrunko at redhat.com
Thu Oct 29 20:40:39 UTC 2015


Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
---
 src/virt-viewer.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/virt-viewer.c b/src/virt-viewer.c
index ca264c8..dd8dbba 100644
--- a/src/virt-viewer.c
+++ b/src/virt-viewer.c
@@ -71,6 +71,7 @@ static gboolean virt_viewer_open_connection(VirtViewerApp *self, int *fd);
 static void virt_viewer_deactivated(VirtViewerApp *self, gboolean connect_error);
 static gboolean virt_viewer_start(VirtViewerApp *self, GError **error);
 static void virt_viewer_dispose (GObject *object);
+static int virt_viewer_connect(VirtViewerApp *app, GError **error);
 
 static void
 virt_viewer_get_property (GObject *object, guint property_id,
@@ -723,8 +724,6 @@ choose_vm(GtkWindow *main_window,
     return dom;
 }
 
-static int virt_viewer_connect(VirtViewerApp *app, GError **error);
-
 static gboolean
 virt_viewer_initial_connect(VirtViewerApp *app, GError **error)
 {
-- 
2.4.3




More information about the virt-tools-list mailing list