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
|
* Windows headers
|
||||||
*/
|
*/
|
||||||
#include "winms.h"
|
#include "winms.h"
|
||||||
#include "./winresource.h"
|
#include "winresource.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -122,7 +122,7 @@ GenerateAuthorization(
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Bool
|
Bool
|
||||||
winGenerateAuthorization ()
|
winGenerateAuthorization (void)
|
||||||
{
|
{
|
||||||
Bool fFreeAuth = FALSE;
|
Bool fFreeAuth = FALSE;
|
||||||
SecurityAuthorizationPtr pAuth = NULL;
|
SecurityAuthorizationPtr pAuth = NULL;
|
||||||
|
|
|
@ -330,7 +330,7 @@ winConfigKeyboard (DeviceIntPtr pDevice)
|
||||||
const char regtempl[] =
|
const char regtempl[] =
|
||||||
"SYSTEM\\CurrentControlSet\\Control\\Keyboard Layouts\\";
|
"SYSTEM\\CurrentControlSet\\Control\\Keyboard Layouts\\";
|
||||||
char *regpath;
|
char *regpath;
|
||||||
char lname[256];
|
unsigned char lname[256];
|
||||||
DWORD namesize = sizeof(lname);
|
DWORD namesize = sizeof(lname);
|
||||||
|
|
||||||
regpath = malloc(sizeof(regtempl) + KL_NAMELENGTH + 1);
|
regpath = malloc(sizeof(regtempl) + KL_NAMELENGTH + 1);
|
||||||
|
|
|
@ -81,7 +81,7 @@ make_box (int x, int y, int w, int h)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
winWindowsWMExtensionInit ()
|
winWindowsWMExtensionInit (void)
|
||||||
{
|
{
|
||||||
ExtensionEntry* extEntry;
|
ExtensionEntry* extEntry;
|
||||||
|
|
||||||
|
|
|
@ -200,7 +200,7 @@ extern int *ConnectionTranslation;
|
||||||
#else
|
#else
|
||||||
extern int GetConnectionTranslation(int conn);
|
extern int GetConnectionTranslation(int conn);
|
||||||
extern void SetConnectionTranslation(int conn, int client);
|
extern void SetConnectionTranslation(int conn, int client);
|
||||||
extern void ClearConnectionTranslation();
|
extern void ClearConnectionTranslation(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern Bool NewOutputPending;
|
extern Bool NewOutputPending;
|
||||||
|
|
Loading…
Reference in New Issue