Xming: Warning fixes
Fix warnings due to prototypes not specifying function arguments Fix warning with RegQueryValueEx() Tidy up an include Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
b8cf4153f8
commit
cca4952d75
|
@ -196,7 +196,7 @@
|
|||
* Windows headers
|
||||
*/
|
||||
#include "winms.h"
|
||||
#include "./winresource.h"
|
||||
#include "winresource.h"
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -122,7 +122,7 @@ GenerateAuthorization(
|
|||
*/
|
||||
|
||||
Bool
|
||||
winGenerateAuthorization ()
|
||||
winGenerateAuthorization (void)
|
||||
{
|
||||
Bool fFreeAuth = FALSE;
|
||||
SecurityAuthorizationPtr pAuth = NULL;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -81,7 +81,7 @@ make_box (int x, int y, int w, int h)
|
|||
}
|
||||
|
||||
void
|
||||
winWindowsWMExtensionInit ()
|
||||
winWindowsWMExtensionInit (void)
|
||||
{
|
||||
ExtensionEntry* extEntry;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user