Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
libpldm
/
34cfad96624400e462daf6d33479ff270457c560
/
.
/
src
/
array.h
blob: 05f26bd25bac003c752f207076543f1d317272c9 [
file
] [
log
] [
blame
]
Andrew Jeffery
ef47e2f
2023-07-20 09:53:19 +0930
[
diff
] [
blame
]
1
#ifndef
LIBPLDM_SRC_ARRAY_H
2
#define
LIBPLDM_SRC_ARRAY_H
3
4
#ifndef
ARRAY_SIZE
5
#define
ARRAY_SIZE
(
a
)
(
sizeof
(
a
)
/
sizeof
((
a
)[
0
]))
6
#endif
7
8
#endif