diff options
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r-- | src/include/gnunet_common.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 9f776587e..63a154390 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -224,11 +224,10 @@ struct GNUNET_MessageHeader | |||
224 | /** | 224 | /** |
225 | * @brief 512-bit hashcode | 225 | * @brief 512-bit hashcode |
226 | */ | 226 | */ |
227 | typedef struct GNUNET_HashCode | 227 | struct GNUNET_HashCode |
228 | { | 228 | { |
229 | uint32_t bits[512 / 8 / sizeof (uint32_t)]; /* = 16 */ | 229 | uint32_t bits[512 / 8 / sizeof (uint32_t)]; /* = 16 */ |
230 | } | 230 | }; |
231 | GNUNET_HashCode; | ||
232 | 231 | ||
233 | 232 | ||
234 | /** | 233 | /** |
@@ -237,7 +236,7 @@ GNUNET_HashCode; | |||
237 | */ | 236 | */ |
238 | struct GNUNET_PeerIdentity | 237 | struct GNUNET_PeerIdentity |
239 | { | 238 | { |
240 | GNUNET_HashCode hashPubKey; | 239 | struct GNUNET_HashCode hashPubKey; |
241 | }; | 240 | }; |
242 | GNUNET_NETWORK_STRUCT_END | 241 | GNUNET_NETWORK_STRUCT_END |
243 | 242 | ||
@@ -428,7 +427,7 @@ GNUNET_logger_remove (GNUNET_Logger logger, void *logger_cls); | |||
428 | * @return string | 427 | * @return string |
429 | */ | 428 | */ |
430 | const char * | 429 | const char * |
431 | GNUNET_h2s (const GNUNET_HashCode * hc); | 430 | GNUNET_h2s (const struct GNUNET_HashCode * hc); |
432 | 431 | ||
433 | 432 | ||
434 | /** | 433 | /** |
@@ -441,7 +440,7 @@ GNUNET_h2s (const GNUNET_HashCode * hc); | |||
441 | * @return string | 440 | * @return string |
442 | */ | 441 | */ |
443 | const char * | 442 | const char * |
444 | GNUNET_h2s_full (const GNUNET_HashCode * hc); | 443 | GNUNET_h2s_full (const struct GNUNET_HashCode * hc); |
445 | 444 | ||
446 | 445 | ||
447 | /** | 446 | /** |