os: drop remains of STREAMSCONN

STREAMSCONN has been removed about a decade ago, but some comments
have been forgotten to be cleaned.

Fixes: b3e9c534e2
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1538>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-05-13 18:20:53 +02:00
parent 702a419c39
commit a4cb4bc4f8

View File

@ -107,7 +107,7 @@ SOFTWARE.
#if defined(TCPCONN)
#include <netinet/in.h>
#endif /* TCPCONN || STREAMSCONN */
#endif /* TCPCONN */
#ifdef HAVE_GETPEERUCRED
#include <ucred.h>
@ -560,7 +560,7 @@ DefineSelf(int fd)
selfhosts = host;
}
}
#endif /* !TCPCONN && !STREAMSCONN && !UNIXCONN */
#endif /* !TCPCONN && !UNIXCONN */
}
#else
@ -947,7 +947,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;
@ -1081,7 +1081,7 @@ ResetHosts(const char *display)
}
#endif /* IPv6 */
}
#endif /* TCPCONN || STREAMSCONN */
#endif /* TCPCONN */
family = FamilyWild;
}
fclose(fd);