mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
os: drop remains of STREAMSCONN
STREAMSCONN has been removed about a decade ago, but some comments have been forgotten to be cleaned. Fixes:b3e9c534e2Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1538> (cherry picked from commita4cb4bc4f8)
This commit is contained in:
committed by
Alan Coopersmith
parent
a89e0bdb3c
commit
7ea4e28f28
@@ -107,7 +107,7 @@ SOFTWARE.
|
||||
|
||||
#if defined(TCPCONN)
|
||||
#include <netinet/in.h>
|
||||
#endif /* TCPCONN || STREAMSCONN */
|
||||
#endif /* TCPCONN */
|
||||
|
||||
#ifdef HAVE_GETPEERUCRED
|
||||
#include <ucred.h>
|
||||
@@ -552,7 +552,7 @@ DefineSelf(int fd)
|
||||
selfhosts = host;
|
||||
}
|
||||
}
|
||||
#endif /* !TCPCONN && !STREAMSCONN && !UNIXCONN */
|
||||
#endif /* !TCPCONN && !UNIXCONN */
|
||||
}
|
||||
|
||||
#else
|
||||
@@ -939,7 +939,7 @@ ResetHosts(const char *display)
|
||||
struct sockaddr sa;
|
||||
#if defined(TCPCONN)
|
||||
struct sockaddr_in in;
|
||||
#endif /* TCPCONN || STREAMSCONN */
|
||||
#endif /* TCPCONN */
|
||||
} saddr;
|
||||
#endif
|
||||
int family = 0;
|
||||
@@ -1073,7 +1073,7 @@ ResetHosts(const char *display)
|
||||
}
|
||||
#endif /* IPv6 */
|
||||
}
|
||||
#endif /* TCPCONN || STREAMSCONN */
|
||||
#endif /* TCPCONN */
|
||||
family = FamilyWild;
|
||||
}
|
||||
fclose(fd);
|
||||
|
||||
Reference in New Issue
Block a user