From c64974a8e424b12974c2508eb289b96363c728b5 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Thu, 28 Dec 2023 17:40:56 +0100 Subject: [PATCH] types: remove old ARRAY_SIZE macro (#1034) --- include/re_types.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/re_types.h b/include/re_types.h index c56ab2ed1..706c7fbad 100644 --- a/include/re_types.h +++ b/include/re_types.h @@ -47,9 +47,6 @@ typedef SSIZE_T ssize_t; /** Get number of elements in an array */ #define RE_ARRAY_SIZE(a) ((sizeof(a))/(sizeof((a)[0]))) -/* Backwards compat */ -#define ARRAY_SIZE RE_ARRAY_SIZE - /** Align a value to the boundary of mask */ #define RE_ALIGN_MASK(x, mask) (((x)+(mask))&~(mask))