On Tue, Jun 23, 2020 at 02:34:00PM +0200, Daniel Gröber wrote: > Signed-off-by: Daniel Gröber <dxld@xxxxxxxxxxxxx> > --- > include/internal/internal.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/internal/internal.h b/include/internal/internal.h > index 859724b..68c5ef0 100644 > --- a/include/internal/internal.h > +++ b/include/internal/internal.h > @@ -40,6 +40,8 @@ > #define IPPROTO_DCCP 33 > #endif > > +#define asizeof(x) (sizeof(x) / sizeof(*x)) Please call this ARRAY_SIZE. Thanks.