commit 42ca364c4f55d19d64355c57ac983fc02e058fa5
parent 2be5e1bceada5e54eeb8a126e9e50ff2bf923b9a
Author: Bart Polot <bart@net.in.tum.de>
Date: Mon, 21 Jul 2014 10:13:44 +0000
- convince gcc to compile
Diffstat:
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/src/social/gnunet-service-social.c b/src/social/gnunet-service-social.c
@@ -233,7 +233,8 @@ struct Guest
};
-static inline void
+// FIXME uncomment when used, otherwise gcc is unhappy
+/*static*/ inline void
transmit_message (struct Place *pl);
@@ -416,14 +417,15 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
const struct GNUNET_CONFIGURATION_Handle *c)
{
static const struct GNUNET_SERVER_MessageHandler handlers[] = {
- { &client_home_enter, NULL,
- GNUNET_MESSAGE_TYPE_SOCIAL_HOME_ENTER, 0 },
-
- { &client_place_enter, NULL,
- GNUNET_MESSAGE_TYPE_SOCIAL_PLACE_ENTER, 0 },
-
- { &client_join_decision, NULL,
- GNUNET_MESSAGE_TYPE_SOCIAL_JOIN_DECISION, 0 },
+// FIXME please commit gnunet_protocols.h and uncoment!
+// { &client_home_enter, NULL,
+// GNUNET_MESSAGE_TYPE_SOCIAL_HOME_ENTER, 0 },
+//
+// { &client_place_enter, NULL,
+// GNUNET_MESSAGE_TYPE_SOCIAL_PLACE_ENTER, 0 },
+//
+// { &client_join_decision, NULL,
+// GNUNET_MESSAGE_TYPE_SOCIAL_JOIN_DECISION, 0 },
{ &client_psyc_message, NULL,
GNUNET_MESSAGE_TYPE_PSYC_MESSAGE, 0 }