diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-20 09:43:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 09:43:02 -0400 |
commit | 701dd649e61470d3172390e138fd28b745dc20b4 (patch) | |
tree | 338a1669725ad9c0c01ee04bf69f57018a28e764 /src/common/common_funcs.h | |
parent | 79c1ed80e965a45db8114d39a54294cf730c98b9 (diff) | |
parent | d9e316e3538c0c0891f04bbfd0e211749ba15b5d (diff) |
Merge pull request #363 from lioncash/array-size
common_funcs: Remove ARRAY_SIZE macro
Diffstat (limited to 'src/common/common_funcs.h')
-rw-r--r-- | src/common/common_funcs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 6f0604958..19a33cb57 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h @@ -9,8 +9,6 @@ #endif #include "common/common_types.h" -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) - /// Textually concatenates two tokens. The double-expansion is required by the C preprocessor. #define CONCAT2(x, y) DO_CONCAT2(x, y) #define DO_CONCAT2(x, y) x##y |