mirror of https://github.com/acidanthera/audk.git
OvmfPkg/XenBusDxe: remove module-local ARRAY_SIZE macro
Rely on the central macro definition from "MdePkg/Include/Base.h" instead. Cc: Gary Lin <glin@suse.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Gary Lin <glin@suse.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
e2c78bec3f
commit
f48c81f12a
|
@ -713,9 +713,6 @@ static XenStoreErrors gXenStoreErrors[] = {
|
||||||
{ XENSTORE_STATUS_EISCONN, "EISCONN" },
|
{ XENSTORE_STATUS_EISCONN, "EISCONN" },
|
||||||
{ XENSTORE_STATUS_E2BIG, "E2BIG" }
|
{ XENSTORE_STATUS_E2BIG, "E2BIG" }
|
||||||
};
|
};
|
||||||
#ifndef ARRAY_SIZE
|
|
||||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
XENSTORE_STATUS
|
XENSTORE_STATUS
|
||||||
|
|
Loading…
Reference in New Issue