https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3c9e562bd3a3e6c0a75029bec12972cc9fb3da8f

commit 3c9e562bd3a3e6c0a75029bec12972cc9fb3da8f
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Sun Oct 13 21:07:23 2019 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Sun Oct 13 21:07:23 2019 +0200

    [FREELDR] Fix build with the 'Grossly Crying Compiler' (aka. GCC).
---
 boot/freeldr/freeldr/ntldr/arch/i386/winldr.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c 
b/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c
index ae1a7979be9..4f70cf323bf 100644
--- a/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c
+++ b/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c
@@ -64,8 +64,8 @@ typedef struct
 #define TYPE_CODE   (0x10 | DESCRIPTOR_CODE | DESCRIPTOR_EXECUTE_READ)
 #define TYPE_DATA   (0x10 | DESCRIPTOR_READ_WRITE)
 
-PKGDTENTRY
 FORCEINLINE
+PKGDTENTRY
 KiGetGdtEntry(
     IN PVOID pGdt,
     IN USHORT Selector)
@@ -73,8 +73,8 @@ KiGetGdtEntry(
     return (PKGDTENTRY)((ULONG_PTR)pGdt + (Selector & ~RPL_MASK));
 }
 
-VOID
 FORCEINLINE
+VOID
 KiSetGdtDescriptorBase(
     IN OUT PKGDTENTRY Entry,
     IN ULONG32 Base)
@@ -85,8 +85,8 @@ KiSetGdtDescriptorBase(
     // Entry->BaseUpper = (ULONG)(Base >> 32);
 }
 
-VOID
 FORCEINLINE
+VOID
 KiSetGdtDescriptorLimit(
     IN OUT PKGDTENTRY Entry,
     IN ULONG Limit)
@@ -126,8 +126,8 @@ KiSetGdtEntryEx(
     // Entry->MustBeZero = 0;
 }
 
-VOID
 FORCEINLINE
+VOID
 KiSetGdtEntry(
     IN OUT PKGDTENTRY Entry,
     IN ULONG32 Base,

Reply via email to