diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-12-26 23:42:30 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-12-26 23:42:30 -0800 |
commit | 4cbd659505f2acafe2645c59532e52d4cfa00e1d (patch) | |
tree | 7ba5c6bb3184a698cf0016bf5ee60c683d3e6e0e /src/sm_genid.c | |
parent | b3d1f4896cab54717acd691b62b7fa3122a5fd8c (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/sm_genid.c')
-rw-r--r-- | src/sm_genid.c | 4 |
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; |