Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
libpldm
/
f1ebde497293f41334a500701ee8d503cb6661f6
/
.
/
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