[DRIVERS]
authorRoel Messiant <roelmessiant@gmail.com>
Tue, 15 Mar 2011 18:41:17 +0000 (18:41 +0000)
committerRoel Messiant <roelmessiant@gmail.com>
Tue, 15 Mar 2011 18:41:17 +0000 (18:41 +0000)
- Change () to (VOID) in function declarators. Part 5/XX.

svn path=/trunk/; revision=51054

reactos/drivers/base/kddll/kddll.h
reactos/drivers/filesystems/ext2/inc/protos.h
reactos/drivers/filesystems/fastfat_new/fastfat.h
reactos/drivers/network/lan/include/lan.h
reactos/drivers/network/ndis/include/miniport.h
reactos/drivers/network/tcpip/include/icmp.h
reactos/drivers/network/tcpip/include/interface.h
reactos/drivers/network/tcpip/include/lan.h
reactos/drivers/network/tcpip/include/lock.h
reactos/drivers/storage/classpnp/debug.h

index b6119e3..5096414 100644 (file)
@@ -70,7 +70,7 @@ KdpReceiveByte(OUT PBYTE OutByte);
 
 KDP_STATUS
 NTAPI
-KdpPollBreakIn();
+KdpPollBreakIn(VOID);
 
 
 #if 0
index 20143c3..864dfc2 100644 (file)
@@ -256,7 +256,7 @@ extern LONGLONG NTAPI Ext2Align64(
        LONGLONG                        NumberToBeAligned, 
        LONGLONG                        Alignment);
 
-extern ULONG NTAPI Ext2GetCurrentTime();
+extern ULONG NTAPI Ext2GetCurrentTime(VOID);
 
 /*************************************************************************
 * Prototypes for the file cleanup.c
index fbbf272..f00bca4 100644 (file)
@@ -368,7 +368,7 @@ FatRemoveNames(IN PFAT_IRP_CONTEXT IrpContext,
                IN PFCB Fcb);
 
 PCCB NTAPI
-FatCreateCcb();
+FatCreateCcb(VOID);
 
 VOID NTAPI
 FatDeleteCcb(IN PFAT_IRP_CONTEXT IrpContext,
index fb7e1e0..1e4be2f 100644 (file)
@@ -156,8 +156,8 @@ NDIS_STATUS AllocatePacketWithBufferX( PNDIS_PACKET *NdisPacket,
 
 VOID FreeNdisPacketX( PNDIS_PACKET Packet, PCHAR File, UINT Line );
 
-NDIS_STATUS InitNdisPools();
-VOID CloseNdisPools();
+NDIS_STATUS InitNdisPools(VOID);
+VOID CloseNdisPools(VOID);
 
 PLAN_ADAPTER FindAdapterByIndex( PLAN_DEVICE_EXT DeviceExt, UINT Index );
 
index ad4de2a..a5b8c8f 100644 (file)
@@ -169,7 +169,7 @@ NdisFindDevice(
     PUINT  SlotNumber);
 
 VOID
-NdisStartDevices();
+NdisStartDevices(VOID);
 
 VOID
 NTAPI
index aaaefa2..e0902e0 100644 (file)
@@ -55,9 +55,9 @@ NTSTATUS ICMPSendDatagram(
     ULONG DataSize,
     PULONG DataUsed );
 
-NTSTATUS ICMPStartup();
+NTSTATUS ICMPStartup(VOID);
 
-NTSTATUS ICMPShutdown();
+NTSTATUS ICMPShutdown(VOID);
 
 VOID ICMPReceive(
     PIP_INTERFACE Interface,
index c79bcab..72a6941 100644 (file)
@@ -7,7 +7,7 @@
 NTSTATUS GetInterfaceIPv4Address( PIP_INTERFACE Interface,
                                  ULONG Type,
                                  PULONG Address );
-UINT CountInterfaces();
+UINT CountInterfaces(VOID);
 UINT CountInterfaceAddresses( PIP_INTERFACE Interface );
 NTSTATUS GetInterfaceSpeed( PIP_INTERFACE Interface, PUINT Speed );
 NTSTATUS GetInterfaceName( PIP_INTERFACE Interface, PCHAR NameBuffer,
index 226d354..2792c25 100644 (file)
@@ -94,8 +94,8 @@ NTSTATUS LANRegisterProtocol(
 VOID NTAPI
 LANUnregisterProtocol(VOID);
 
-VOID LANStartup();
-VOID LANShutdown();
+VOID LANStartup(VOID);
+VOID LANShutdown(VOID);
 
 NTSTATUS TcpipLanGetDwordOid( PIP_INTERFACE Interface, NDIS_OID Oid,
                               PULONG Result );
index cac01eb..be23152 100644 (file)
@@ -1,6 +1,6 @@
 #pragma once
 
-extern KIRQL TcpipGetCurrentIrql();
+extern KIRQL TcpipGetCurrentIrql(VOID);
 extern VOID TcpipInitializeSpinLock( PKSPIN_LOCK SpinLock );
 extern VOID TcpipAcquireSpinLock( PKSPIN_LOCK SpinLock, PKIRQL Irql );
 extern VOID TcpipReleaseSpinLock( PKSPIN_LOCK SpinLock, KIRQL Irql );
index 2fa64c4..1bcbf6b 100644 (file)
@@ -113,7 +113,7 @@ VOID ClassDebugPrint(CLASS_DEBUG_LEVEL DebugPrintLevel, PCCHAR DebugMessage, ...
     #define DBGCHECKRETURNEDPKT(_pkt) DbgCheckReturnedPkt(_pkt)
     #define DBGGETSRBSTATUSSTR(_pSrb) DbgGetSrbStatusStr(_pSrb)
     
-    VOID ClasspInitializeDebugGlobals();
+    VOID ClasspInitializeDebugGlobals(VOID);
     char *DbgGetIoctlStr(ULONG ioctl);
     char *DbgGetScsiOpStr(PSCSI_REQUEST_BLOCK Srb);
     char *DbgGetSenseCodeStr(PSCSI_REQUEST_BLOCK Srb);