[DRIVERS] Remove unused __NTDRIVER__ and KERNEL definitions

This commit is contained in:
Victor Perevertkin 2023-01-31 19:27:33 +03:00
parent 8866b9d7b0
commit 886670e914
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
9 changed files with 0 additions and 27 deletions

View file

@ -1,6 +1,5 @@
add_definitions(
-D__NTDRIVER__
-DFT2_BUILD_LIBRARY)
include_directories(include)

View file

@ -1,6 +1,4 @@
add_definitions(-D__NTDRIVER__)
include_directories(
BEFORE ${REACTOS_SOURCE_DIR}/drivers/network/tcpip/include
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/lwip/src/include

View file

@ -235,9 +235,7 @@ PIP_INTERFACE IPCreateInterface(
TCPRegisterInterface(IF);
#ifdef __NTDRIVER__
InsertTDIInterfaceEntity( IF );
#endif
return IF;
}
@ -253,9 +251,7 @@ VOID IPDestroyInterface(
{
TI_DbgPrint(DEBUG_IP, ("Called. IF (0x%X).\n", IF));
#ifdef __NTDRIVER__
RemoveTDIInterfaceEntity( IF );
#endif
TCPUnregisterInterface(IF);

View file

@ -341,9 +341,7 @@ NTSTATUS RawIPStartup(VOID)
* Status of operation
*/
{
#ifdef __NTDRIVER__
RtlZeroMemory(&UDPStats, sizeof(UDP_STATISTICS));
#endif
/* Register this protocol with IP layer */
IPRegisterProtocol(IPPROTO_RAW, RawIpReceive);

View file

@ -343,9 +343,7 @@ NTSTATUS UDPStartup(
{
NTSTATUS Status;
#ifdef __NTDRIVER__
RtlZeroMemory(&UDPStats, sizeof(UDP_STATISTICS));
#endif
Status = PortsStartup( &UDPPorts, 1, UDP_STARTING_PORT + UDP_DYNAMIC_PORTS );

View file

@ -1,8 +1,4 @@
add_definitions(
-D__NTDRIVER__
-DKERNEL)
include_directories(
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)

View file

@ -1,8 +1,4 @@
add_definitions(
-D__NTDRIVER__
-DKERNEL)
include_directories(
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)

View file

@ -1,8 +1,4 @@
add_definitions(
-D__NTDRIVER__
-DKERNEL)
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)
list(APPEND SOURCE

View file

@ -1,8 +1,4 @@
add_definitions(
-D__NTDRIVER__
-DKERNEL)
include_directories(
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/sound/soundblaster
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/sound)