Skip to content

Commit cf901f3

Browse files
committed
[FREELDR:XBOX] Fix GCC compilation (reactos#8512)
CORE-16216 Addendum to commit 9e64fa8 (PR reactos#8510) Fixes GCC complaint when compiling for XBOX (or PC98) ``` boot/freeldr/freeldr/arch/i386/pc/machpc.c:1123:1: error: 'DetectKeyboardController' defined but not used [-Werror=unused-function] DetectKeyboardController(PCONFIGURATION_COMPONENT_DATA BusKey) ^~~~~~~~~~~~~~~~~~~~~~~~ ```
1 parent 66018d5 commit cf901f3

File tree

1 file changed

+0
-5
lines changed
  • boot/freeldr/freeldr/arch/i386/pc

1 file changed

+0
-5
lines changed

boot/freeldr/freeldr/arch/i386/pc/machpc.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -982,8 +982,6 @@ DetectParallelPorts(PCONFIGURATION_COMPONENT_DATA BusKey)
982982
TRACE("DetectParallelPorts() done\n");
983983
}
984984

985-
#endif // !SARCH_XBOX
986-
987985
// static
988986
BOOLEAN
989987
DetectKeyboardDevice(VOID)
@@ -1185,9 +1183,6 @@ DetectKeyboardController(PCONFIGURATION_COMPONENT_DATA BusKey)
11851183
DetectKeyboardPeripheral(ControllerKey);
11861184
}
11871185

1188-
/* FIXME: Abstract things better so we don't need to place define here */
1189-
#if !defined(SARCH_XBOX)
1190-
11911186
static
11921187
VOID
11931188
PS2ControllerWait(VOID)

0 commit comments

Comments
 (0)