Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
libpldm
/
c6c391d6edd0f1e05d96a5056d8e731a4633b651
/
.
/
src
/
array.h
blob: 45e83aaaa71128e69d5b3bdc53c93118f68cfd7a [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */
#ifndef
LIBPLDM_SRC_ARRAY_H
#define
LIBPLDM_SRC_ARRAY_H
#ifndef
ARRAY_SIZE
#define
ARRAY_SIZE
(
a
)
(
sizeof
(
a
)
/
sizeof
((
a
)[
0
]))
#endif
#endif