make gcc -pedantic happy
authorMarkus Teich <teichm@fs.tum.de>
Mon, 16 Jan 2017 17:45:03 +0000 (18:45 +0100)
committerMarkus Teich <teichm@fs.tum.de>
Mon, 16 Jan 2017 17:45:34 +0000 (18:45 +0100)
src/include/gnunet_mq_lib.h

index d1a045b8bfe98738138398924ba600c123864e34..5c2f808dfbb1ad1a4cfbac8979ec9ea1b4433310 100644 (file)
@@ -402,7 +402,7 @@ struct GNUNET_MQ_MessageHandler
  * @param ctx context for the callbacks
  */
 #define GNUNET_MQ_hd_var_size(name,code,str,ctx)             \
-  ({                                                         \
+  __extension__ ({                                           \
     int (*_mv)(void *cls, const str *msg) = &check_##name;   \
     void (*_cb)(void *cls, const str *msg) = &handle_##name; \
     ((struct GNUNET_MQ_MessageHandler)                       \