fix some warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5505 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -270,11 +270,13 @@ X_UNIX_PATH "%u",
|
|||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef MAY_HAVE_X11_PIPES
|
||||||
static char *x_pipes[] = {
|
static char *x_pipes[] = {
|
||||||
X_PIPE_PATH "%u",
|
X_PIPE_PATH "%u",
|
||||||
"/var/X/.X11-pipe/X" "%u",
|
"/var/X/.X11-pipe/X" "%u",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
try_mkdir (const char *path)
|
try_mkdir (const char *path)
|
||||||
@@ -311,7 +313,6 @@ get_xsockets (int *number, struct x_socket **sockets, int tcp_socket)
|
|||||||
try_mkdir (X_PIPE_PATH);
|
try_mkdir (X_PIPE_PATH);
|
||||||
|
|
||||||
for(dpy = 4; dpy < 256; ++dpy) {
|
for(dpy = 4; dpy < 256; ++dpy) {
|
||||||
int tcpfd;
|
|
||||||
char **path;
|
char **path;
|
||||||
int tmp;
|
int tmp;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user