From 8f04ef300d25f0252cdf23c2cf96d076db15508a Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Wed, 26 Oct 2016 14:14:47 +0200 Subject: MdeModulePkg/RegularExpressionDxe: remove module-local ARRAY_SIZE macro Rely on the central macro definition from "MdePkg/Include/Base.h" instead. Cc: Cecil Sheng Cc: Feng Tian Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Feng Tian Reviewed-by: Star Zeng Reviewed-by: Jordan Justen --- MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'MdeModulePkg') 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 #include -#ifndef ARRAY_SIZE -#define ARRAY_SIZE(Array) (sizeof(Array) / sizeof(*Array)) -#endif - /** Checks if the input string matches to the regular expression pattern. -- cgit v1.2.3