diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index f4f68a95f..3ac186e0b 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -1081,10 +1081,11 @@ GNUNET_ntoh_double (double d); | |||
1081 | * | 1081 | * |
1082 | * @param a pointer to a struct which should be tested for the | 1082 | * @param a pointer to a struct which should be tested for the |
1083 | * entire memory being zero'ed out. | 1083 | * entire memory being zero'ed out. |
1084 | * @return 0 if a is zero, non-zero otherwise | ||
1084 | */ | 1085 | */ |
1085 | #define GNUNET_is_zero(a) \ | 1086 | #define GNUNET_is_zero(a) \ |
1086 | ({ \ | 1087 | ({ \ |
1087 | static const typeof (*a)_z; \ | 1088 | static const typeof (*a) _z; \ |
1088 | memcmp ((a), &_z, sizeof(_z)); \ | 1089 | memcmp ((a), &_z, sizeof(_z)); \ |
1089 | }) | 1090 | }) |
1090 | 1091 | ||