summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-12-26 23:42:30 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-12-26 23:42:30 -0800
commit4cbd659505f2acafe2645c59532e52d4cfa00e1d (patch)
tree7ba5c6bb3184a698cf0016bf5ee60c683d3e6e0e /src
parentb3d1f4896cab54717acd691b62b7fa3122a5fd8c (diff)
Remove unused TLI ("STREAMSCONN") code from libSM
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. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/sm_genid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sm_genid.c b/src/sm_genid.c
index c6731d8..ef7acae 100644
--- a/src/sm_genid.c
+++ b/src/sm_genid.c
@@ -70,7 +70,7 @@ in this Software without prior written authorization from The Open Group.
#ifndef WIN32
-# if defined(TCPCONN) || defined(STREAMSCONN)
+# ifdef TCPCONN
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
@@ -139,7 +139,7 @@ SmsGenerateClientID(SmsConn smsConn)
return id;
#else
-# if defined(TCPCONN) || defined(STREAMSCONN)
+# ifdef TCPCONN
static const char hex[] = "0123456789abcdef";
char hostname[256];
char address[64], *addr_ptr = address;