mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
fix a number of compiler warnings in os/*
This commit is contained in:
@@ -67,6 +67,9 @@ SOFTWARE.
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#define XSERV_t
|
||||
#define TRANS_SERVER
|
||||
#define TRANS_REOPEN
|
||||
#include <X11/Xtrans/Xtrans.h>
|
||||
#include <X11/Xauth.h>
|
||||
#include <X11/X.h>
|
||||
|
||||
3
os/io.c
3
os/io.c
@@ -66,6 +66,9 @@ SOFTWARE.
|
||||
#include <X11/Xwinsock.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#define XSERV_t
|
||||
#define TRANS_SERVER
|
||||
#define TRANS_REOPEN
|
||||
#include <X11/Xtrans/Xtrans.h>
|
||||
#include <X11/Xmd.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -68,6 +68,9 @@ OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#include <stdio.h>
|
||||
#include "misc.h"
|
||||
#include <X11/X.h>
|
||||
#define XSERV_t
|
||||
#define TRANS_SERVER
|
||||
#define TRANS_REOPEN
|
||||
#include <X11/Xtrans/Xtrans.h>
|
||||
#include "input.h"
|
||||
#include "dixfont.h"
|
||||
|
||||
@@ -41,6 +41,9 @@ from The Open Group.
|
||||
|
||||
#include <stdio.h>
|
||||
#include <X11/X.h>
|
||||
#define XSERV_t
|
||||
#define TRANS_SERVER
|
||||
#define TRANS_REOPEN
|
||||
#include <X11/Xtrans/Xtrans.h>
|
||||
#include "os.h"
|
||||
#include "osdep.h"
|
||||
@@ -153,9 +156,9 @@ XdmAuthenticationInit (char *cookie, int cookie_len)
|
||||
XdmcpRegisterAuthentication (XdmAuthenticationName, XdmAuthenticationNameLen,
|
||||
(unsigned char *)&rho,
|
||||
sizeof (rho),
|
||||
XdmAuthenticationValidator,
|
||||
XdmAuthenticationGenerator,
|
||||
XdmAuthenticationAddAuth);
|
||||
(ValidatorFunc)XdmAuthenticationValidator,
|
||||
(GeneratorFunc)XdmAuthenticationGenerator,
|
||||
(AddAuthorFunc)XdmAuthenticationAddAuth);
|
||||
}
|
||||
|
||||
#endif /* XDMCP */
|
||||
|
||||
Reference in New Issue
Block a user