aboutsummaryrefslogtreecommitdiff
path: root/src/sensor/gnunet-service-sensor-analysis.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sensor/gnunet-service-sensor-analysis.c')
-rw-r--r--src/sensor/gnunet-service-sensor-analysis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sensor/gnunet-service-sensor-analysis.c b/src/sensor/gnunet-service-sensor-analysis.c
index bb0e2d505..4b99045ff 100644
--- a/src/sensor/gnunet-service-sensor-analysis.c
+++ b/src/sensor/gnunet-service-sensor-analysis.c
@@ -51,7 +51,7 @@ struct SensorModel
51 /* 51 /*
52 * Pointer to sensor info structure 52 * Pointer to sensor info structure
53 */ 53 */
54 struct SensorInfo *sensor; 54 struct GNUNET_SENSOR_SensorInfo *sensor;
55 55
56 /* 56 /*
57 * Watcher of sensor values 57 * Watcher of sensor values
@@ -190,7 +190,7 @@ sensor_watcher (void *cls,
190 * 190 *
191 * @param cls unused 191 * @param cls unused
192 * @param key unused 192 * @param key unused
193 * @param value a 'struct SensorInfo *' with sensor information 193 * @param value a 'struct GNUNET_SENSOR_SensorInfo *' with sensor information
194 * @return #GNUNET_YES to continue iterations 194 * @return #GNUNET_YES to continue iterations
195 */ 195 */
196static int 196static int
@@ -198,7 +198,7 @@ init_sensor_model (void *cls,
198 const struct GNUNET_HashCode *key, 198 const struct GNUNET_HashCode *key,
199 void *value) 199 void *value)
200{ 200{
201 struct SensorInfo *sensor = value; 201 struct GNUNET_SENSOR_SensorInfo *sensor = value;
202 struct SensorModel *sensor_model; 202 struct SensorModel *sensor_model;
203 203
204 if (0 != strcmp("numeric", sensor->expected_datatype)) 204 if (0 != strcmp("numeric", sensor->expected_datatype))