]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ARM Packages: Removed 'inline' keyword
authorOlivier Martin <olivier.martin@arm.com>
Tue, 10 Dec 2013 16:39:54 +0000 (16:39 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 10 Dec 2013 16:39:54 +0000 (16:39 +0000)
'inline' keyword is not supported by the C89 (version used by EDK2).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14957 6f19259b-4bc3-4df7-8a09-765794883524

ArmPkg/Library/BdsLib/BdsLinuxFdt.c
ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c

index 58db0bdd66c9ac9cd293a6d82d0ca5c3394a831c..ae302aff8a5c67cd835cd4072e04bddbd282a3cd 100644 (file)
@@ -25,7 +25,7 @@
 #define PALIGN(p, a)    ((void *)(ALIGN((unsigned long)(p), (a))))\r
 #define GET_CELL(p)     (p += 4, *((const UINT32 *)(p-4)))\r
 \r
-STATIC inline\r
+STATIC\r
 UINTN\r
 cpu_to_fdtn (UINTN x) {\r
   if (sizeof (UINTN) == sizeof (UINT32)) {\r
index d1da60b5ac7507e021d4e2b4a7b5d68db2aac766..799ead96861ac46e552f61a3d702e6abd3a94e2b 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 *\r
-*  Copyright (c) 2011-2012, ARM Limited. All rights reserved.\r
+*  Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
 *\r
 *  This program and the accompanying materials\r
 *  are licensed and made available under the terms and conditions of the BSD License\r
@@ -36,7 +36,7 @@ EFI_EVENT                           EfiExitBootServicesEvent = (EFI_EVENT)NULL;
   i.e. it inhibits all writes to avoid rogue software accidentally\r
   corrupting their contents.\r
 **/\r
-inline\r
+STATIC\r
 VOID\r
 SP805Unlock (\r
   VOID\r
@@ -54,7 +54,7 @@ SP805Unlock (
   i.e. it inhibits all writes to avoid rogue software accidentally\r
   corrupting their contents.\r
 **/\r
-inline\r
+STATIC\r
 VOID\r
 SP805Lock (\r
   VOID\r
@@ -69,7 +69,7 @@ SP805Lock (
 /**\r
   Stop the SP805 watchdog timer from counting down by disabling interrupts.\r
 **/\r
-inline\r
+STATIC\r
 VOID\r
 SP805Stop (\r
   VOID\r
@@ -86,7 +86,7 @@ SP805Stop (
   The count down will start from the value stored in the Load register,\r
   not from the value where it was previously stopped.\r
 **/\r
-inline\r
+STATIC\r
 VOID\r
 SP805Start (\r
   VOID\r