]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commitdiff
Remove bogus FORCEINLINE
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 24 Jul 2018 13:09:17 +0000 (14:09 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 24 Jul 2018 13:09:17 +0000 (14:09 +0100)
Not sure why the older toolchains tolerated this, but VS2017 quite rightly
hits a link failure with free builds.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xencrsh/driver.c

index 700bb3c87cabd586fd0afc117c5119fe8c8e910b..9e20729a6b4b346ad9d3bd61dc70107c03ea3889 100644 (file)
@@ -50,7 +50,7 @@
 
 static ULONG    __OperatingMode;
 
-FORCEINLINE ULONG DriverGetOperatingMode()
+ULONG DriverGetOperatingMode()
 {
     return __OperatingMode;
 }