[WIN32K] Add some static specifiers, to prevent exporting FORCEINLINE function outsid...
authorHervé Poussineau <hpoussin@reactos.org>
Thu, 26 Mar 2020 13:48:35 +0000 (14:48 +0100)
committerHervé Poussineau <hpoussin@reactos.org>
Thu, 26 Mar 2020 15:39:16 +0000 (16:39 +0100)
win32ss/gdi/ntgdi/freetype.c
win32ss/gdi/ntgdi/gdiobj.c

index 65bda36..7d64680 100644 (file)
@@ -5830,7 +5830,7 @@ NtGdiGetFontFamilyInfo(HDC Dc,
     return GotCount;
 }
 
-FORCEINLINE
+static inline
 LONG
 ScaleLong(LONG lValue, PFLOATOBJ pef)
 {
index 3a323dc..95633e9 100644 (file)
@@ -343,7 +343,7 @@ DecrementCurrentProcessGdiHandleCount(void)
     if (ppi) InterlockedDecrement((LONG*)&ppi->GDIHandleCount);
 }
 
-FORCEINLINE
+static inline
 VOID
 IncrementGdiHandleCount(ULONG ulProcessId)
 {
@@ -360,7 +360,7 @@ IncrementGdiHandleCount(ULONG ulProcessId)
     if (NT_SUCCESS(Status)) ObDereferenceObject(pep);
 }
 
-FORCEINLINE
+static inline
 VOID
 DecrementGdiHandleCount(ULONG ulProcessId)
 {