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