GData plugin: Make global data static
authorHolger Berndt <berndth@gmx.de>
Wed, 28 Sep 2016 20:22:27 +0000 (22:22 +0200)
committerHolger Berndt <berndth@gmx.de>
Thu, 29 Sep 2016 16:37:16 +0000 (18:37 +0200)
src/plugins/gdata/cm_gdata_contacts.c

index 0501f6c..b41d17c 100644 (file)
@@ -63,11 +63,11 @@ typedef struct
 } CmGDataContactsCache;
 
 
-CmGDataContactsCache contacts_cache;
-gboolean cm_gdata_contacts_query_running = FALSE;
-gchar *contacts_group_id = NULL;
-GDataOAuth2Authorizer *authorizer = NULL;
-GDataContactsService *service = NULL;
+static CmGDataContactsCache contacts_cache;
+static gboolean cm_gdata_contacts_query_running = FALSE;
+static gchar *contacts_group_id = NULL;
+static GDataOAuth2Authorizer *authorizer = NULL;
+static GDataContactsService *service = NULL;
 
 
 static void protect_fields_against_NULL(Contact *contact)