diff --git a/include/color.h b/include/color.h index d226a199206..949c180885a 100644 --- a/include/color.h +++ b/include/color.h @@ -20,9 +20,9 @@ extern COLORREF COLOR_ToLogical(int pixel); extern int COLOR_ToPhysical( DC *dc, COLORREF color ); extern int COLOR_SetMapping( PALETTEOBJ* pal, UINT32 uStart, UINT32 uNum, BOOL32 mapOnly ); extern BOOL32 COLOR_IsSolid( COLORREF color ); -extern Colormap COLOR_GetColormap(); -extern UINT16 COLOR_GetSystemPaletteSize(); -extern UINT16 COLOR_GetSystemPaletteFlags(); +extern Colormap COLOR_GetColormap(void); +extern UINT16 COLOR_GetSystemPaletteSize(void); +extern UINT16 COLOR_GetSystemPaletteFlags(void); extern const PALETTEENTRY* COLOR_GetSystemPaletteTemplate(void); extern BOOL32 COLOR_GetMonoPlane( int* ); diff --git a/include/imagehlp.h b/include/imagehlp.h index 95fce3ebcc9..34949b2ed49 100644 --- a/include/imagehlp.h +++ b/include/imagehlp.h @@ -669,6 +669,7 @@ BOOL32 WINAPI ImageUnload32( PLOADED_IMAGE32 LoadedImage ); PAPI_VERSION32 WINAPI ImagehlpApiVersion32( + void ); PAPI_VERSION32 WINAPI ImagehlpApiVersionEx32( PAPI_VERSION32 AppVersion @@ -743,6 +744,7 @@ BOOL32 WINAPI SymGetModuleInfo32( PIMAGEHLP_MODULE32 ModuleInfo ); DWORD WINAPI SymGetOptions32( + void ); BOOL32 WINAPI SymGetSearchPath32( HANDLE32 hProcess, LPSTR szSearchPath, DWORD SearchPathLength diff --git a/include/palette.h b/include/palette.h index c913fd13bbe..c90842a54d3 100644 --- a/include/palette.h +++ b/include/palette.h @@ -19,7 +19,7 @@ typedef struct LOGPALETTE logpalette; /* _MUST_ be the last field */ } PALETTEOBJ; -extern HPALETTE16 PALETTE_Init(); +extern HPALETTE16 PALETTE_Init(void); extern int PALETTE_GetObject( PALETTEOBJ * palette, int count, LPSTR buffer ); extern BOOL32 PALETTE_DeleteObject( HPALETTE16 hpalette, PALETTEOBJ *palette ); extern BOOL32 PALETTE_UnrealizeObject( HPALETTE16 hpalette, PALETTEOBJ *palette); diff --git a/memory/global.c b/memory/global.c index 80411ce6332..69934e36930 100644 --- a/memory/global.c +++ b/memory/global.c @@ -75,7 +75,7 @@ static GLOBALARENA *GLOBAL_GetArena( WORD sel, WORD selcount ) } -void debug_handles() +void debug_handles(void) { int printed=0; int i; diff --git a/misc/registry.c b/misc/registry.c index 800727eec8a..a9305e34156 100644 --- a/misc/registry.c +++ b/misc/registry.c @@ -40,7 +40,7 @@ #include "winreg.h" #include "winversion.h" -static void REGISTRY_Init(); +static void REGISTRY_Init(void); /* FIXME: following defines should be configured global ... */ /* NOTE: do not append a /. linux' mkdir() WILL FAIL if you do that */ @@ -404,7 +404,7 @@ static void split_keypath( LPCWSTR wp, LPWSTR **wpv, int *wpc) * REGISTRY_Init [Internal] * Registry initialisation, allocates some default keys. */ -static void REGISTRY_Init() { +static void REGISTRY_Init(void) { HKEY hkey; char buf[200]; @@ -1560,7 +1560,7 @@ __w31_dumptree( unsigned short idx, /****************************************************************************** * _w31_loadreg [Internal] */ -void _w31_loadreg() { +void _w31_loadreg(void) { HFILE32 hf; struct _w31_header head; struct _w31_tabent *tab; diff --git a/windows/defwnd.c b/windows/defwnd.c index cfc8683ce04..fc431ae0532 100644 --- a/windows/defwnd.c +++ b/windows/defwnd.c @@ -374,7 +374,7 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT32 msg, WPARAM32 wParam, for(len=1; len<64; len++) if((hIcon=LoadIcon16(wndPtr->hInstance,MAKEINTRESOURCE16(len)))) return (LRESULT)hIcon; - return (LRESULT)LoadIcon16(NULL,IDI_APPLICATION16); + return (LRESULT)LoadIcon16(0,IDI_APPLICATION16); } break;