]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg: fix undefined reference to memcpy
authorScott Duplichan <scott@notabs.org>
Wed, 12 Nov 2014 10:01:41 +0000 (10:01 +0000)
committeroliviermartin <oliviermartin@Edk2>
Wed, 12 Nov 2014 10:01:41 +0000 (10:01 +0000)
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

ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c

index 3e4147c58baced9ab6b1ca921b05493ded8c3b2b..52ba48992b83e599731efc89bd108532fe3a64ca 100644 (file)
@@ -221,7 +221,7 @@ DayValid (
   IN  EFI_TIME  *Time\r
   )\r
 {\r
-  INTN  DayOfMonth[12] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };\r
+  STATIC CONST INTN DayOfMonth[12] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };\r
 \r
   if (Time->Day < 1 ||\r
       Time->Day > DayOfMonth[Time->Month - 1] ||\r