psyc,psycstore,social: switch to SERVICE API
authorGabor X Toth <*@tg-x.net>
Sat, 24 Sep 2016 01:19:18 +0000 (01:19 +0000)
committerGabor X Toth <*@tg-x.net>
Sat, 24 Sep 2016 01:19:18 +0000 (01:19 +0000)
src/psyc/gnunet-service-psyc.c
src/psycstore/gnunet-service-psycstore.c
src/social/gnunet-service-social.c

index 2293c918184854ed1ff89df9f338cd09eb88d3bf..eab74b4673c1774159c6168002f5e6e385671e9d 100644 (file)
@@ -46,7 +46,7 @@ static const struct GNUNET_CONFIGURATION_Handle *cfg;
 /**
  * Service handle.
  */
-struct GNUNET_SERVICE_Handle *service;
+static struct GNUNET_SERVICE_Handle *service;
 
 /**
  * Handle to the statistics service.
index 12e1d1a8d3bd3f068d5d50737aaa9a9146b7b023..1d11030062ecdb80685ca0c94ab8137b86786f6d 100644 (file)
@@ -46,7 +46,7 @@ static const struct GNUNET_CONFIGURATION_Handle *cfg;
 /**
  * Service handle.
  */
-struct GNUNET_SERVICE_Handle *service;
+static struct GNUNET_SERVICE_Handle *service;
 
 /**
  * Handle to the statistics service.
index 685eb71caf4053c88896f13e0600bba75b8bc195..e6ee24a4fd5dbc2b5ef462b969590b5ea1b6f892 100644 (file)
@@ -49,7 +49,7 @@ static const struct GNUNET_CONFIGURATION_Handle *cfg;
 /**
  * Service handle.
  */
-struct GNUNET_SERVICE_Handle *service;
+static struct GNUNET_SERVICE_Handle *service;
 
 /* Handles to other services */
 static struct GNUNET_IDENTITY_Handle *id;