aboutsummaryrefslogtreecommitdiff
path: root/src/social
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-07-21 10:13:44 +0000
committerBart Polot <bart@net.in.tum.de>2014-07-21 10:13:44 +0000
commit42ca364c4f55d19d64355c57ac983fc02e058fa5 (patch)
tree187355f885599a46845a0433b528ed9435c002f7 /src/social
parent2be5e1bceada5e54eeb8a126e9e50ff2bf923b9a (diff)
downloadgnunet-42ca364c4f55d19d64355c57ac983fc02e058fa5.tar.gz
gnunet-42ca364c4f55d19d64355c57ac983fc02e058fa5.zip
- convince gcc to compile
Diffstat (limited to 'src/social')
-rw-r--r--src/social/gnunet-service-social.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/social/gnunet-service-social.c b/src/social/gnunet-service-social.c
index ab67bedd6..174ee293b 100644
--- a/src/social/gnunet-service-social.c
+++ b/src/social/gnunet-service-social.c
@@ -233,7 +233,8 @@ struct Guest
233}; 233};
234 234
235 235
236static inline void 236// FIXME uncomment when used, otherwise gcc is unhappy
237/*static*/ inline void
237transmit_message (struct Place *pl); 238transmit_message (struct Place *pl);
238 239
239 240
@@ -416,14 +417,15 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
416 const struct GNUNET_CONFIGURATION_Handle *c) 417 const struct GNUNET_CONFIGURATION_Handle *c)
417{ 418{
418 static const struct GNUNET_SERVER_MessageHandler handlers[] = { 419 static const struct GNUNET_SERVER_MessageHandler handlers[] = {
419 { &client_home_enter, NULL, 420// FIXME please commit gnunet_protocols.h and uncoment!
420 GNUNET_MESSAGE_TYPE_SOCIAL_HOME_ENTER, 0 }, 421// { &client_home_enter, NULL,
421 422// GNUNET_MESSAGE_TYPE_SOCIAL_HOME_ENTER, 0 },
422 { &client_place_enter, NULL, 423//
423 GNUNET_MESSAGE_TYPE_SOCIAL_PLACE_ENTER, 0 }, 424// { &client_place_enter, NULL,
424 425// GNUNET_MESSAGE_TYPE_SOCIAL_PLACE_ENTER, 0 },
425 { &client_join_decision, NULL, 426//
426 GNUNET_MESSAGE_TYPE_SOCIAL_JOIN_DECISION, 0 }, 427// { &client_join_decision, NULL,
428// GNUNET_MESSAGE_TYPE_SOCIAL_JOIN_DECISION, 0 },
427 429
428 { &client_psyc_message, NULL, 430 { &client_psyc_message, NULL,
429 GNUNET_MESSAGE_TYPE_PSYC_MESSAGE, 0 } 431 GNUNET_MESSAGE_TYPE_PSYC_MESSAGE, 0 }