Author: akhaldi
Date: Tue Sep 18 21:45:00 2012
New Revision: 57326
URL:
http://svn.reactos.org/svn/reactos?rev=57326&view=rev
Log:
[WIN32SS]
* Mark some the lack of parameters in some functions using VOID. Clang now happily
compiles them.
Modified:
trunk/reactos/win32ss/gdi/ntgdi/device.c
trunk/reactos/win32ss/user/ntuser/clipboard.c
trunk/reactos/win32ss/user/ntuser/hook.c
trunk/reactos/win32ss/user/ntuser/hook.h
trunk/reactos/win32ss/user/win32csr/guiconsole.c
trunk/reactos/win32ss/user/win32csr/guiconsole.h
Modified: trunk/reactos/win32ss/gdi/ntgdi/device.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/device.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/device.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/device.c [iso-8859-1] Tue Sep 18 21:45:00 2012
@@ -26,7 +26,7 @@
}
BOOL FASTCALL
-IntCreatePrimarySurface()
+IntCreatePrimarySurface(VOID)
{
SIZEL SurfSize;
SURFOBJ *pso;
@@ -66,7 +66,7 @@
}
VOID FASTCALL
-IntDestroyPrimarySurface()
+IntDestroyPrimarySurface(VOID)
{
UNIMPLEMENTED;
}
Modified: trunk/reactos/win32ss/user/ntuser/clipboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/clipbo…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/clipboard.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/clipboard.c [iso-8859-1] Tue Sep 18 21:45:00 2012
@@ -18,7 +18,7 @@
#define IS_DATA_SYNTHESIZED(ce) ((ce)->hData == DATA_SYNTH_USER || (ce)->hData ==
DATA_SYNTH_KRNL)
PWINSTATION_OBJECT static FASTCALL
-IntGetWinStaForCbAccess()
+IntGetWinStaForCbAccess(VOID)
{
HWINSTA hWinSta;
PWINSTATION_OBJECT pWinStaObj;
Modified: trunk/reactos/win32ss/user/ntuser/hook.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/hook.c…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/hook.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/hook.c [iso-8859-1] Tue Sep 18 21:45:00 2012
@@ -131,7 +131,7 @@
BOOL
FASTCALL
-UserLoadApiHook()
+UserLoadApiHook(VOID)
{
return IntLoadHookModule(WH_APIHOOK, 0, FALSE);
}
@@ -206,7 +206,7 @@
BOOL
FASTCALL
-UserUnregisterUserApiHook()
+UserUnregisterUserApiHook(VOID)
{
PTHREADINFO pti;
Modified: trunk/reactos/win32ss/user/ntuser/hook.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/hook.h…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/hook.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/hook.h [iso-8859-1] Tue Sep 18 21:45:00 2012
@@ -50,9 +50,9 @@
LRESULT FASTCALL UserCallNextHookEx( PHOOK pHook, int Code, WPARAM wParam, LPARAM lParam,
BOOL Ansi);
BOOL FASTCALL IntUnhookWindowsHook(int,HOOKPROC);
-BOOL FASTCALL UserLoadApiHook();
+BOOL FASTCALL UserLoadApiHook(VOID);
BOOL IntLoadHookModule(int iHookID, HHOOK hHook, BOOL Unload);
-BOOL FASTCALL UserUnregisterUserApiHook();
+BOOL FASTCALL UserUnregisterUserApiHook(VOID);
extern PPROCESSINFO ppiUahServer;
Modified: trunk/reactos/win32ss/user/win32csr/guiconsole.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/win32csr/guic…
==============================================================================
--- trunk/reactos/win32ss/user/win32csr/guiconsole.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/win32csr/guiconsole.c [iso-8859-1] Tue Sep 18 21:45:00
2012
@@ -1712,7 +1712,7 @@
VOID
FASTCALL
-GuiConsoleHandleScrollbarMenu()
+GuiConsoleHandleScrollbarMenu(VOID)
{
HMENU hMenu;
Modified: trunk/reactos/win32ss/user/win32csr/guiconsole.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/win32csr/guic…
==============================================================================
--- trunk/reactos/win32ss/user/win32csr/guiconsole.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/win32csr/guiconsole.h [iso-8859-1] Tue Sep 18 21:45:00
2012
@@ -14,5 +14,6 @@
#define CONGUI_UPDATE_TIMER 1
NTSTATUS FASTCALL GuiInitConsole(PCSRSS_CONSOLE Console, BOOL Visible);
+VOID FASTCALL GuiConsoleHandleScrollbarMenu(VOID);
/*EOF*/