code clean up
[oweals/gnunet.git] / src / statistics / statistics_api.c
index 5cbbfc9b614df9bba38de11b2599ba8550b50b38..26e2425e60298d9332d08498c5d3b65a47d5921b 100644 (file)
@@ -131,7 +131,7 @@ struct GNUNET_STATISTICS_Handle
   /**
    * Configuration to use.
    */
-  struct GNUNET_CONFIGURATION_Handle *cfg;
+  const struct GNUNET_CONFIGURATION_Handle *cfg;
 
   /**
    * Socket (if available).
@@ -208,7 +208,7 @@ free_action_item (struct ActionItem *ai)
 struct GNUNET_STATISTICS_Handle *
 GNUNET_STATISTICS_create (struct GNUNET_SCHEDULER_Handle *sched,
                           const char *subsystem,
-                          struct GNUNET_CONFIGURATION_Handle *cfg)
+                          const struct GNUNET_CONFIGURATION_Handle *cfg)
 {
   struct GNUNET_STATISTICS_Handle *ret;