diff options
author | Scott Duplichan <scott@notabs.org> | 2014-11-12 10:01:41 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2014-11-12 10:01:41 +0000 |
commit | a23eb77b45f4940b04a49cbd6d40ce46f8c677f6 (patch) | |
tree | 845f274e48231d0be6e16d25bb1d14d6c660f207 /ArmPlatformPkg/Library/PL031RealTimeClockLib | |
parent | 2ac68e8b549b646607149919a2780bcd7234d92d (diff) | |
download | edk2-a23eb77b45f4940b04a49cbd6d40ce46f8c677f6.tar.gz edk2-a23eb77b45f4940b04a49cbd6d40ce46f8c677f6.tar.bz2 edk2-a23eb77b45f4940b04a49cbd6d40ce46f8c677f6.zip |
ArmPlatformPkg: fix undefined reference to memcpy
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16340 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/Library/PL031RealTimeClockLib')
-rw-r--r-- | ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c index 3e4147c58b..52ba48992b 100644 --- a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c +++ b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c @@ -221,7 +221,7 @@ DayValid ( IN EFI_TIME *Time
)
{
- INTN DayOfMonth[12] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
+ STATIC CONST INTN DayOfMonth[12] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
if (Time->Day < 1 ||
Time->Day > DayOfMonth[Time->Month - 1] ||
|