aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord/gnsrecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnsrecord/gnsrecord.c')
-rw-r--r--src/gnsrecord/gnsrecord.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gnsrecord/gnsrecord.c b/src/gnsrecord/gnsrecord.c
index a59997934..3cbf5fc8d 100644
--- a/src/gnsrecord/gnsrecord.c
+++ b/src/gnsrecord/gnsrecord.c
@@ -102,8 +102,8 @@ init ()
102 if (1 == once) 102 if (1 == once)
103 return; 103 return;
104 once = 1; 104 once = 1;
105 struct GNUNET_OS_ProjectData *pd = GNUNET_OS_project_data_get (); 105 const struct GNUNET_OS_ProjectData *pd = GNUNET_OS_project_data_get ();
106 struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default (); 106 const struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default ();
107 107
108 if (pd != dpd) 108 if (pd != dpd)
109 GNUNET_OS_init(dpd); 109 GNUNET_OS_init(dpd);
@@ -121,8 +121,8 @@ void __attribute__ ((destructor))
121GNSRECORD_fini () 121GNSRECORD_fini ()
122{ 122{
123 struct Plugin *plugin; 123 struct Plugin *plugin;
124 struct GNUNET_OS_ProjectData *pd = GNUNET_OS_project_data_get (); 124 const struct GNUNET_OS_ProjectData *pd = GNUNET_OS_project_data_get ();
125 struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default (); 125 const struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default ();
126 126
127 if (pd != dpd) 127 if (pd != dpd)
128 GNUNET_OS_init(dpd); 128 GNUNET_OS_init(dpd);