Author: rmessiant
Date: Sun Mar 13 20:56:27 2011
New Revision: 51041
URL:
http://svn.reactos.org/svn/reactos?rev=51041&view=rev
Log:
[DLL]
- Change () to (VOID) in function declarators. Part 4/XX.
Modified:
trunk/reactos/base/shell/cmd/batch.h
trunk/reactos/dll/cpl/input/input.h
trunk/reactos/dll/directx/ddraw/rosdraw.h
trunk/reactos/dll/win32/dhcpcsvc/include/rosdhcp.h
trunk/reactos/dll/win32/iphlpapi/resinfo.h
trunk/reactos/dll/win32/lpk/ros_lpk.h
trunk/reactos/dll/win32/netshell/precomp.h
trunk/reactos/dll/win32/sfc/precomp.h
trunk/reactos/dll/win32/user32/include/user32p.h
trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h
trunk/reactos/dll/win32/ws2_32_new/inc/ws2_32p.h
Modified: trunk/reactos/base/shell/cmd/batch.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/batch.h?rev…
==============================================================================
--- trunk/reactos/base/shell/cmd/batch.h [iso-8859-1] (original)
+++ trunk/reactos/base/shell/cmd/batch.h [iso-8859-1] Sun Mar 13 20:56:27 2011
@@ -45,7 +45,7 @@
LPTSTR FindArg (TCHAR, BOOL *);
LPTSTR BatchParams (LPTSTR, LPTSTR);
-VOID ExitBatch ();
+VOID ExitBatch (VOID);
INT Batch (LPTSTR, LPTSTR, LPTSTR, PARSED_COMMAND *);
-LPTSTR ReadBatchLine();
+LPTSTR ReadBatchLine(VOID);
VOID AddBatchRedirection(REDIRECTION **);
Modified: trunk/reactos/dll/cpl/input/input.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/input/input.h?rev=…
==============================================================================
--- trunk/reactos/dll/cpl/input/input.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/input/input.h [iso-8859-1] Sun Mar 13 20:56:27 2011
@@ -47,7 +47,7 @@
INT_PTR CALLBACK
KeySettingsDlgProc(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
VOID
-UpdateKeySettingsList();
+UpdateKeySettingsList(VOID);
/* add.c */
INT_PTR CALLBACK
Modified: trunk/reactos/dll/directx/ddraw/rosdraw.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/rosdraw.…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/rosdraw.h [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ddraw/rosdraw.h [iso-8859-1] Sun Mar 13 20:56:27 2011
@@ -125,8 +125,8 @@
/******** Main Object ********/
/* Public interface */
-VOID WINAPI AcquireDDThreadLock();
-VOID WINAPI ReleaseDDThreadLock();
+VOID WINAPI AcquireDDThreadLock(VOID);
+VOID WINAPI ReleaseDDThreadLock(VOID);
ULONG WINAPI DirectDrawClipper_AddRef (LPDIRECTDRAWCLIPPER iface);
HRESULT WINAPI DirectDrawClipper_Initialize( LPDIRECTDRAWCLIPPER iface, LPDIRECTDRAW
lpDD, DWORD dwFlags);
Modified: trunk/reactos/dll/win32/dhcpcsvc/include/rosdhcp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dhcpcsvc/include…
==============================================================================
--- trunk/reactos/dll/win32/dhcpcsvc/include/rosdhcp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dhcpcsvc/include/rosdhcp.h [iso-8859-1] Sun Mar 13 20:56:27
2011
@@ -79,16 +79,16 @@
void AdapterInit(VOID);
HANDLE StartAdapterDiscovery(VOID);
void AdapterStop(VOID);
-extern PDHCP_ADAPTER AdapterGetFirst();
+extern PDHCP_ADAPTER AdapterGetFirst(VOID);
extern PDHCP_ADAPTER AdapterGetNext(PDHCP_ADAPTER);
extern PDHCP_ADAPTER AdapterFindIndex( unsigned int AdapterIndex );
extern PDHCP_ADAPTER AdapterFindInfo( struct interface_info *info );
extern PDHCP_ADAPTER AdapterFindByHardwareAddress( u_int8_t haddr[16], u_int8_t hlen );
-extern HANDLE PipeInit();
-extern VOID ApiInit();
-extern VOID ApiFree();
-extern VOID ApiLock();
-extern VOID ApiUnlock();
+extern HANDLE PipeInit(VOID);
+extern VOID ApiInit(VOID);
+extern VOID ApiFree(VOID);
+extern VOID ApiLock(VOID);
+extern VOID ApiUnlock(VOID);
extern DWORD DSQueryHWInfo( PipeSendFunc Send, COMM_DHCP_REQ *Req );
extern DWORD DSLeaseIpAddress( PipeSendFunc Send, COMM_DHCP_REQ *Req );
extern DWORD DSRenewIpAddressLease( PipeSendFunc Send, COMM_DHCP_REQ *Req );
Modified: trunk/reactos/dll/win32/iphlpapi/resinfo.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/resinfo…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/resinfo.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/resinfo.h [iso-8859-1] Sun Mar 13 20:56:27 2011
@@ -28,7 +28,7 @@
/* Get resolver info. This currently is limited to a list of IP addresses
* that name our DNS server list. */
-PIPHLP_RES_INFO getResInfo();
+PIPHLP_RES_INFO getResInfo(VOID);
/* Release any resources used in acquiring the resolver information */
VOID disposeResInfo( PIPHLP_RES_INFO InfoPtr );
Modified: trunk/reactos/dll/win32/lpk/ros_lpk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lpk/ros_lpk.h?re…
==============================================================================
--- trunk/reactos/dll/win32/lpk/ros_lpk.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lpk/ros_lpk.h [iso-8859-1] Sun Mar 13 20:56:27 2011
@@ -12,7 +12,7 @@
#include <ndk/ntndk.h>
/* FIXME USP10 api that does not have prototype in any include file */
-VOID WINAPI LpkPresent();
+VOID WINAPI LpkPresent(VOID);
/* FIXME move _LPK_LPEDITCONTROL_LIST to global place so user32 can access it */
typedef struct _LPK_LPEDITCONTROL_LIST
Modified: trunk/reactos/dll/win32/netshell/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/precomp…
==============================================================================
--- trunk/reactos/dll/win32/netshell/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/precomp.h [iso-8859-1] Sun Mar 13 20:56:27 2011
@@ -85,7 +85,7 @@
/* enumlist.c */
IEnumIDList * IEnumIDList_Constructor(void);
-LPITEMIDLIST _ILCreateNetConnect();
+LPITEMIDLIST _ILCreateNetConnect(void);
LPITEMIDLIST ILCreateNetConnectItem(INetConnection * pItem);
BOOL _ILIsNetConnect (LPCITEMIDLIST pidl);
BOOL AddToEnumList(IEnumIDList * iface, LPITEMIDLIST pidl);
Modified: trunk/reactos/dll/win32/sfc/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/sfc/precomp.h?re…
==============================================================================
--- trunk/reactos/dll/win32/sfc/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/sfc/precomp.h [iso-8859-1] Sun Mar 13 20:56:27 2011
@@ -5,8 +5,8 @@
#include <sfc.h>
#include <srrestoreptapi.h>
-DWORD WINAPI sfc_8();
-DWORD WINAPI sfc_9();
+DWORD WINAPI sfc_8(VOID);
+DWORD WINAPI sfc_9(VOID);
typedef BOOL (WINAPI *PSRSRPA)(PRESTOREPOINTINFOA, PSTATEMGRSTATUS);
typedef BOOL (WINAPI *PSRSRPW)(PRESTOREPOINTINFOW, PSTATEMGRSTATUS);
Modified: trunk/reactos/dll/win32/user32/include/user32p.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/include/u…
==============================================================================
--- trunk/reactos/dll/win32/user32/include/user32p.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/include/user32p.h [iso-8859-1] Sun Mar 13 20:56:27
2011
@@ -123,7 +123,7 @@
USER32_TRACKINGLIST tracking_info; /* TrackMouseEvent stuff */
} USER32_THREAD_DATA, *PUSER32_THREAD_DATA;
-PUSER32_THREAD_DATA User32GetThreadData();
+PUSER32_THREAD_DATA User32GetThreadData(VOID);
/* FIXME: Belongs to some header. */
BOOL WINAPI GdiDllInitialize(HANDLE, DWORD, LPVOID);
Modified: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/wdmau…
==============================================================================
--- trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h [iso-8859-1] Sun Mar 13 20:56:27 2011
@@ -15,19 +15,19 @@
#include <debug.h>
BOOL
-WdmAudInitUserModeMixer();
+WdmAudInitUserModeMixer(VOID);
ULONG
-WdmAudGetWaveOutCount();
+WdmAudGetWaveOutCount(VOID);
ULONG
-WdmAudGetWaveInCount();
+WdmAudGetWaveInCount(VOID);
ULONG
-WdmAudGetMixerCount();
-
-MMRESULT
-WdmAudOpenSoundDeviceByLegacy();
+WdmAudGetMixerCount(VOID);
+
+MMRESULT
+WdmAudOpenSoundDeviceByLegacy(VOID);
MMRESULT
WdmAudGetNumWdmDevsByMMixer(
@@ -150,12 +150,12 @@
IN LPOVERLAPPED_COMPLETION_ROUTINE CompletionRoutine);
MMRESULT
-WdmAudCleanupByMMixer();
+WdmAudCleanupByMMixer(VOID);
/* legacy.c */
MMRESULT
-WdmAudCleanupByLegacy();
+WdmAudCleanupByLegacy(VOID);
MMRESULT
WdmAudGetCapabilitiesByLegacy(
@@ -165,7 +165,7 @@
IN DWORD CapabilitiesSize);
MMRESULT
-WdmAudOpenSoundDeviceByLegacy();
+WdmAudOpenSoundDeviceByLegacy(VOID);
MMRESULT
WdmAudCloseSoundDeviceByLegacy(
Modified: trunk/reactos/dll/win32/ws2_32_new/inc/ws2_32p.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32_new/inc/w…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32_new/inc/ws2_32p.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32_new/inc/ws2_32p.h [iso-8859-1] Sun Mar 13 20:56:27
2011
@@ -858,14 +858,14 @@
FORCEINLINE
PWSPROCESS
-WsGetProcess()
+WsGetProcess(VOID)
{
return CurrentWsProcess;
}
FORCEINLINE
DWORD
-WsQuickProlog()
+WsQuickProlog(VOID)
{
/* Try to see if we're initialized. If not, do the full prolog */
return WsGetProcess() ? ERROR_SUCCESS : WsSlowProlog();