diff --git a/hw/xwin/win.h b/hw/xwin/win.h index 9ab8ed976..5cda9701c 100644 --- a/hw/xwin/win.h +++ b/hw/xwin/win.h @@ -196,7 +196,7 @@ * Windows headers */ #include "winms.h" -#include "./winresource.h" +#include "winresource.h" /* diff --git a/hw/xwin/winauth.c b/hw/xwin/winauth.c index fcd1872da..f4c400582 100644 --- a/hw/xwin/winauth.c +++ b/hw/xwin/winauth.c @@ -122,7 +122,7 @@ GenerateAuthorization( */ Bool -winGenerateAuthorization () +winGenerateAuthorization (void) { Bool fFreeAuth = FALSE; SecurityAuthorizationPtr pAuth = NULL; diff --git a/hw/xwin/winconfig.c b/hw/xwin/winconfig.c index 259b3d238..b05867ba9 100644 --- a/hw/xwin/winconfig.c +++ b/hw/xwin/winconfig.c @@ -330,7 +330,7 @@ winConfigKeyboard (DeviceIntPtr pDevice) const char regtempl[] = "SYSTEM\\CurrentControlSet\\Control\\Keyboard Layouts\\"; char *regpath; - char lname[256]; + unsigned char lname[256]; DWORD namesize = sizeof(lname); regpath = malloc(sizeof(regtempl) + KL_NAMELENGTH + 1); diff --git a/hw/xwin/winwindowswm.c b/hw/xwin/winwindowswm.c index 00572a13b..7dce7e379 100755 --- a/hw/xwin/winwindowswm.c +++ b/hw/xwin/winwindowswm.c @@ -81,7 +81,7 @@ make_box (int x, int y, int w, int h) } void -winWindowsWMExtensionInit () +winWindowsWMExtensionInit (void) { ExtensionEntry* extEntry; diff --git a/os/osdep.h b/os/osdep.h index 3d75bbaab..7b1c69995 100644 --- a/os/osdep.h +++ b/os/osdep.h @@ -200,7 +200,7 @@ extern int *ConnectionTranslation; #else extern int GetConnectionTranslation(int conn); extern void SetConnectionTranslation(int conn, int client); -extern void ClearConnectionTranslation(); +extern void ClearConnectionTranslation(void); #endif extern Bool NewOutputPending;