blob: 45e83aaaa71128e69d5b3bdc53c93118f68cfd7a [file] [log] [blame]
Patrick Williams691668f2023-11-01 08:19:10 -05001/* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */
Andrew Jefferyef47e2f2023-07-20 09:53:19 +09302#ifndef LIBPLDM_SRC_ARRAY_H
3#define LIBPLDM_SRC_ARRAY_H
4
5#ifndef ARRAY_SIZE
6#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
7#endif
8
9#endif