diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-10-26 14:14:47 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-10-27 10:50:09 +0200 |
commit | 8f04ef300d25f0252cdf23c2cf96d076db15508a (patch) | |
tree | be4b133e345fa693635c7a25035b1bf51d43469a /MdeModulePkg | |
parent | c3ead528287db5ae779fc7ca00f935516d685c2a (diff) | |
download | edk2-platforms-8f04ef300d25f0252cdf23c2cf96d076db15508a.tar.xz |
MdeModulePkg/RegularExpressionDxe: remove module-local ARRAY_SIZE macro
Rely on the central macro definition from "MdePkg/Include/Base.h" instead.
Cc: Cecil Sheng <cecil.sheng@hpe.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Feng Tian <feng.tian@Intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h index 73ea92b5a1..0defa56e81 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h +++ b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h @@ -26,10 +26,6 @@ #include <Library/DebugLib.h>
#include <Library/BaseLib.h>
-#ifndef ARRAY_SIZE
-#define ARRAY_SIZE(Array) (sizeof(Array) / sizeof(*Array))
-#endif
-
/**
Checks if the input string matches to the regular expression pattern.
|