Remove ";" suffix from function-type macros.

This commit is contained in:
Masamitsu MURASE
2013-02-01 21:06:40 +09:00
parent c7f2911792
commit 54eb08e2fc
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ static const uint8_t __m[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80};
v |= v >> 8;\
v |= v >> 16;\
v++;\
} while (0);
} while (0)
/* declare struct kh_xxx and kh_xxx_funcs
+2 -2
View File
@@ -55,7 +55,7 @@ typedef struct mrb_value {
#define MRB_SET_VALUE(o, ttt, attr, v) do {\
(o).tt = ttt;\
(o).attr = v;\
} while (0);
} while (0)
static inline mrb_value
mrb_float_value(mrb_float f)
@@ -131,7 +131,7 @@ typedef struct mrb_value {
#define MRB_SET_VALUE(o, tt, attr, v) do {\
(o).ttt = mrb_mktt(tt);\
(o).attr = v;\
} while (0);
} while (0)
static inline mrb_value
mrb_float_value(mrb_float f)