diff options
author | Gabor X Toth <*@tg-x.net> | 2014-07-23 16:19:46 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2014-07-23 16:19:46 +0000 |
commit | 252b5599987b7ba03b879a8c2d1c455ad4c9834a (patch) | |
tree | 61266628dbb9591a61756c4bcfb95f732c1e497d /src/social | |
parent | 6ec85aa550fe93bfc208c54a1b83102314ecf509 (diff) | |
download | gnunet-252b5599987b7ba03b879a8c2d1c455ad4c9834a.tar.gz gnunet-252b5599987b7ba03b879a8c2d1c455ad4c9834a.zip |
Revert "- convince gcc to compile"
This reverts commit cd2a54791e6286c3c437b525b26f6e9268956afc.
Diffstat (limited to 'src/social')
-rw-r--r-- | src/social/gnunet-service-social.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/social/gnunet-service-social.c b/src/social/gnunet-service-social.c index 174ee293b..ab67bedd6 100644 --- a/src/social/gnunet-service-social.c +++ b/src/social/gnunet-service-social.c | |||
@@ -233,8 +233,7 @@ struct Guest | |||
233 | }; | 233 | }; |
234 | 234 | ||
235 | 235 | ||
236 | // FIXME uncomment when used, otherwise gcc is unhappy | 236 | static inline void |
237 | /*static*/ inline void | ||
238 | transmit_message (struct Place *pl); | 237 | transmit_message (struct Place *pl); |
239 | 238 | ||
240 | 239 | ||
@@ -417,15 +416,14 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
417 | const struct GNUNET_CONFIGURATION_Handle *c) | 416 | const struct GNUNET_CONFIGURATION_Handle *c) |
418 | { | 417 | { |
419 | static const struct GNUNET_SERVER_MessageHandler handlers[] = { | 418 | static const struct GNUNET_SERVER_MessageHandler handlers[] = { |
420 | // FIXME please commit gnunet_protocols.h and uncoment! | 419 | { &client_home_enter, NULL, |
421 | // { &client_home_enter, NULL, | 420 | GNUNET_MESSAGE_TYPE_SOCIAL_HOME_ENTER, 0 }, |
422 | // GNUNET_MESSAGE_TYPE_SOCIAL_HOME_ENTER, 0 }, | 421 | |
423 | // | 422 | { &client_place_enter, NULL, |
424 | // { &client_place_enter, NULL, | 423 | GNUNET_MESSAGE_TYPE_SOCIAL_PLACE_ENTER, 0 }, |
425 | // GNUNET_MESSAGE_TYPE_SOCIAL_PLACE_ENTER, 0 }, | 424 | |
426 | // | 425 | { &client_join_decision, NULL, |
427 | // { &client_join_decision, NULL, | 426 | GNUNET_MESSAGE_TYPE_SOCIAL_JOIN_DECISION, 0 }, |
428 | // GNUNET_MESSAGE_TYPE_SOCIAL_JOIN_DECISION, 0 }, | ||
429 | 427 | ||
430 | { &client_psyc_message, NULL, | 428 | { &client_psyc_message, NULL, |
431 | GNUNET_MESSAGE_TYPE_PSYC_MESSAGE, 0 } | 429 | GNUNET_MESSAGE_TYPE_PSYC_MESSAGE, 0 } |