summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-12-26 23:09:31 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-12-26 23:09:31 -0800
commitfe46fcc3ae58767960434445a4ea9c3ce0a6724e (patch)
tree654962c14babea070e348a6b3653880618cbd5b4
parentea343d117b5dbb17fc753e08918f44f167207fa9 (diff)
downloadxorg-app-xauth-fe46fcc3ae58767960434445a4ea9c3ce0a6724e.tar.gz
Remove unused TLI ("STREAMSCONN") code from xauth
Has never been converted to build in modular builds, so has been unusable since X11R7.0 release in 2005. All known platforms with TLI/XTI support that X11R7 & later releases run on also have (and mostly prefer) BSD socket support for their networking API. And as the comment notes, it never worked right in xauth anyway. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--gethost.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gethost.c b/gethost.c
index 375f584..6b9ffcc 100644
--- a/gethost.c
+++ b/gethost.c
@@ -29,12 +29,6 @@ in this Software without prior written authorization from The Open Group.
#include "config.h"
#endif
-/* sorry, streams support does not really work yet */
-#if defined(STREAMSCONN) && defined(SVR4)
-#undef STREAMSCONN
-#define TCPCONN
-#endif
-
#ifdef WIN32
#include <X11/Xwinsock.h>
#define EPROTOTYPE WSAEPROTOTYPE
@@ -48,7 +42,6 @@ in this Software without prior written authorization from The Open Group.
#define __TYPES__
#endif
#ifndef WIN32
-#ifndef STREAMSCONN
#ifndef Lynx
#include <sys/socket.h>
#else
@@ -60,7 +53,6 @@ in this Software without prior written authorization from The Open Group.
#ifdef HAVE_NET_ERRNO_H
#include <net/errno.h>
#endif /* HAVE_NET_ERRNO_H */
-#endif /* !STREAMSCONN */
#endif /* !WIN32 */
#include <errno.h>
#include "xauth.h"