[Spice-devel] [PATCH spice-gtk 4/4] spicy-screenshot: Make some variable static

Frediano Ziglio fziglio at redhat.com
Wed Dec 19 13:25:15 UTC 2018


Not used outside this module.
Also update indentation.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 tools/spicy-screenshot.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/spicy-screenshot.c b/tools/spicy-screenshot.c
index 13b319d2..97bd4da9 100644
--- a/tools/spicy-screenshot.c
+++ b/tools/spicy-screenshot.c
@@ -29,9 +29,9 @@ static gboolean version = FALSE;
 static SpiceSession  *session;
 static GMainLoop     *mainloop;
 
-enum SpiceSurfaceFmt d_format;
-gint                 d_width, d_height, d_stride;
-gpointer             d_data;
+static enum SpiceSurfaceFmt d_format;
+static gint d_width, d_height, d_stride;
+static gpointer d_data;
 
 static bool image_grabbed = false;
 
-- 
2.17.2



More information about the Spice-devel mailing list