mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 12:40:32 +01: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:
parent
a89e0bdb3c
commit
7ea4e28f28
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue