-consistently use struct GNUNET_HashCode
[oweals/gnunet.git] / src / transport / plugin_transport_udp.c
index ad87ea68d8ba61b764d2fcda821a35cf1ad05b96..9bfe9f0c2c61ade8c9c0162fd100e232bd3edbab 100644 (file)
@@ -764,7 +764,7 @@ disconnect_session (struct Session *s)
  * @return GNUNET_OK (continue to iterate)
  */
 static int
-disconnect_and_free_it (void *cls, const GNUNET_HashCode * key, void *value)
+disconnect_and_free_it (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   disconnect_session(value);
   return GNUNET_OK;
@@ -857,7 +857,7 @@ create_session (struct Plugin *plugin, const struct GNUNET_PeerIdentity *target,
 
 static int
 session_cmp_it (void *cls,
-               const GNUNET_HashCode * key,
+               const struct GNUNET_HashCode * key,
                void *value)
 {
   struct SessionCompareContext * cctx = cls;
@@ -1461,7 +1461,7 @@ struct LookupContext
 
 
 static int
-lookup_session_by_addr_it (void *cls, const GNUNET_HashCode * key, void *value)
+lookup_session_by_addr_it (void *cls, const struct GNUNET_HashCode * key, void *value)
 {
   struct LookupContext *l_ctx = cls;
   struct Session * s = value;